Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
PHP Update
Name: ChromeShark (by croftstorm) Date: April 17, 2006 at 08:08:13 Pacific OS: windows xp CPU/Ram: 512mb Product: Compaq
Comment:
I've been using PHP successfully for several years, but a recent project forced me to use a host I am unfamiliar with and their php is configured differently to what I am used to. My current problem is that I cannot get PHPs Update function to work. It is a simple bit of code that uses POST data from a form to update the SQL database:
$id = $_GET["id"]; $title = $_POST["title"]; $siteurl = $_POST["siteurl"]; $sitedescription = $_POST["sitedescription"]; print "Your Link $title has been updated."; $subupdate = "UPDATE mathslinks SET title='$title', siteurl='$siteurl', sitedescription = '$sitedescription' WHERE id = '$id'"; $updater = mysql_query($subupdate);
I see no reason why this should not be working, maybe someone out there with a keener eye can help me out.
Summary: Hey guys, here is the situation. I have a custom "block" for PHPNuke which displays the details of a TeamSpeak server, such as the users who are connected to the server. I want to create a javascript ...
Summary: I got a little help on this at PHPFreaks, though I still can't get it to take. The following code basically extracts data from a database, and prints it to a webform where the user can edit/update the...
Summary: Hi, Thanks for the reply and sorry about the bad question. Well, I elaborate more on the problem: I have a flat file: /XXX/YYY/config.php it has stuff I wrote above in it: <?php $GLOBALS["users"]=a...