02-05-2008, 07:23 PM
|
#6 (permalink)
|
|
The Contributor
Join Date: Jan 2008
Location: Maine, USA
Posts: 92
Thanks: 2
|
I personally use double quotes and they seem to work for me. One thing that looks a bit weird is the table name. Is that correct?
SQL Code:
$query = 'UPDATE althlete SET
compare
SQL Code:
$query = 'UPDATE athlete SET
One more thing, you have an extra comma before the WHERE clause.
PHP Code:
place = "'.mysql_real_escape_string($place).'",
WHERE athlete_number = $ud_athletenumber';
should be:
PHP Code:
place = "'.mysql_real_escape_string($place).'"
WHERE athlete_number = $ud_athletenumber';
That would cause some issues.
__________________
-- Bill
"Why is it drug addicts and computer aficionados are both called users?" -Clifford Stoll
|
|
|
|