39,323 Topics
| |
Hi, I've been trying to get my webpage to send data via java script, AJAX, xmlhttprequest. i'm using IIS7 It definitely is the write path and stuff because i do get a responsetext but the response returns the entire php code in that file. Does any1 have any idea what's … | |
Hi, I'm working on a page that GETs a value that is passed in the URL. This variable echos correctly up until I try echoing it inside an if statment where it needs to be. The variable is called $siteid. Inside my if statement I have a query that runs … | |
i can't figure out how to get recaptcha to work with my code properly and i'm just learning to code i was wondering if anyone could help with my coding. heres my code below and thanks in advance. [CODE=php]<html><head> <meta name="GENERATOR" content="Evrsoft First Page"> <style>#conash3D0 { DISPLAY: none } </style> … | |
[CODE]$OrderId = (int) $_REQUEST["OrderId"]; // query one of two $sql = 'select * from mickey.mouse where OrderId='.$OrderId ; $result = mysql_query($sql) or die('Query failed'.mysql_error()); $orderID_Passed =1; echo "test2<br/>"; $numfields = mysql_num_fields($result); echo $numfields ; echo "<br/>"; echo "<table><table cellpadding='4' cellspacing='3' border='1'>"; $orderID_Passed = 1 ; //replace with the request object … | |
Hi! I am new to the world of coding, but am slowly learning. I am working on an internet scavenger hunt- so people search for a hidden icon on different sites all over the net. they are given a list of links to the sites participating and a riddle to … | |
Hi, I need your help with a php issue here: I have a flash form where the user enters some strings. Action Script is supposed to get these strings and place them into variables, then send the to php. Now php gets these variables and places them inside other variables … | |
I have a script that creates a record in MySql database which allocates certain machines to any or all of six usergroups under the management of a unique manager. It works fine in creating an original record, but I want to be able to use the same form to update … | |
Hello, As part of my college task I need to make simple webpage based on PHP and MySQL which goes exactly like this: [url]http://img227.imageshack.us/img227/1984/hamburgers.jpg[/url] Since I am still newbie, I hope you can help me with this one. For practicing I use EasyPHP and this is what I done till … | |
I don't have a ton of php experience but I am trying to have math problem echoed in the same browswer screen upon submit. Problem is when I submit nothing appears it just looks like i refreshed the page. I've tried moving the php coding into a seperate .php file … | |
I have written this code for page hits cout its working perfectly ok on my pc but when i uploaded it on my site it show error any body help me in this issue [CODE]<?php $cnt = "hits.txt"; $h = @fopen($cnt, 'r') or die("can't open file"); $x=@fread($h,10); $h1 = @fopen($cnt, … | |
hi, need some major help with this. i have a site which has nots page etc and is great for recording data like this however i need to record calls and integrate into the site. no idea where to start with this one, has anyone got some suggestions on this? … | |
I have a site which I am working on ([url]www.agilitegear.com[/url]). I already implemented UPS & USPS (domestic only) shipping, but now I have a problem with USPS International shipping. This is my usps script: [code] <?php // This script was written by Mark Sanborn at http://www.marksanborn.net // If this script … | |
Hi all, I need to build a upload-download system similar to mediafire. Is there some customizable open source systems available, which i can download and cuztomize or I have to do it from start. What all things to be take care about. In my case atmost 500 MB of collective … | |
Hi, i have a table with a list of items, each of which has certain values. I want to have a set of checkboxes for the values and another for the items, so the items can be filtered by selecting different values. My question is: will this be better done … | |
Hello all, i have a question regarding a mysql populated selectbox, i managed to fill this with data from a table, but now i want to show the selected value from another table ( with the same value of course). here is my selectbox now: [CODE]<select name="project" class="selectbox" tabindex="1"> <?php … | |
Hi, I'm using RapidSVN to access the SVN repository for a project I'm part of. When I have an existing instance of Eclipse open and try to open a new file from RapidSVN I get a message from Eclipse saying, "Workspace in use or cannot be created, choose a different … | |
Hi everyone hope you can help me with this issue, I'm trying to make a login system that is object oriented so I have the following classes: [INDENT] [LIST] [*]MySQLDB: Peforms all database operations, adding/removing members, checking passwords and usernames, also performing querys. [*]Session: Performs Session actions(log in/out, keeping track … | |
I want a forum for a website, and I like this system best. Is this forum open source? If so, where can I download it? | |
Hi, I have built a dynamic site with php and I'm new to URL rewriting. I want to rewrite every URL on my site. Example : [url]www.domain.com/example.php?id=300[/url] TO [url]www.domain.com/example/300[/url] So how can I do that ??? Thanks | |
I just posted an AJAX forms generator that will read a MYSQL table, allow you to define how the fields are treated and then generate the necessary HTML, Javascript and PHP files to implement the form. You end up with a complete and working form backed by code thats very … | |
I want to create a module that fetches images from directories and display it under the heading of directory_name. For this purpose which CMS is better.... Drupal, Wordpress or joomla..or something else? Thank You | |
Hello, i am new in facebook development so this might be a basic question.i have implemented like button to site.the site is dynamically generated from data in database. for each new data added new page is generated of the form(index.php?id=12).like button is added to every new page.i wanted if someone … | |
Display Records In A Drop Down Menu Combo Box From A Column Of A Table In PHP [CODE]<?php $con = mysql_connect('localhost','root',''); $db = mysql_select_db('mydb'); //$res = mysql_query("SELECT * FROM songs ORDER BY title") or die ("Invalid query: " . mysql_query()); //$res = mysql_query ("SELECT * FROM mytable ORDER BY name") … | |
$select_query2 = "SELECT * FROM EmployeeBirthdayDetails Order By E_ID"; $employeedetails = mysql_query($select_query2); $emp_details = array(); $j =0; while($row2 = mysql_fetch_array($employeedetails)) { $emp_details[$j] = $row2; $j++; } echo "<table border='1' width='100%'> <tr> <th>Employee ID</th> <th>Employee Name</th> <th>Date Of Birth</th> <th>Edit</th> <th>Delete</th> </tr>"; for($i=0;$i<sizeof($emp_details);$i++) { $empId=$emp_details[$i]['E_ID']; echo "<tr>"; echo "<td>" . $empId … | |
Howdy y'all, Got a question, why were here right, I have a page that is server side - no html included all php - I need to call/include a javascript function to handle a rather complex parsing routine but I am not sure how I go about calling the function … | |
Hello I have a form containing saveral textbox name1,name2....name50 & father1,father2........father50. what is the best way for desigining and submiting this form and stored in mysql thank u | |
hi all, i am new to php, i have a database field called results in that i am inserting a string something like this "category_name:-abs43;c1-abs43;types:-abs43;t1" now i want to put this string into an array, i have used the delimiter '-abs40;' as u can see in the string. the array … | |
I am not really looking for anyone to hold my hand through anything, but I am looking for someone to direct me to meaningful data/literature on the subject be it books/websites/videos/etc. I work for a small family business that repairs specific types of production machinery. We have a database that … | |
Hi guys I want to commit the transaction if all the queries executed in the loop, or else I need to rollback how do i do this, I tried this , but I am not sure how efficient it is. mysql_query("START TRANSACTION"); for($i=0;$i<100;$i++) { $res=mysql_query("some query") array_push($array,$res); } if(in_array(0,$array)) mysql_query("rollback"); … | |
Hello everyone, I have a small problem for using a regex in PHP. The problem is that I get a text output from another website. I want to get some informations by using a regex but I'm not sure in advance how the informations will be display. Here the example: … |
The End.