Hi,
> update $T1 set caption = $caption where name = $name
put single quotes aroud the variables: caption='$caption'.
You can do this aswell:
$result = mysql_query("UPDATE $T1 SET caption='$caption WHERE name='$name'",
$DB)
or die(mysql_error());
if (! $result) {
send the haeder...
}
hope it
Hi there,
I am trying to update a row in my MySQL database (I am an newbie)
It does not work, but the DB does not return an error.
Is there an error in the syntax??
// Create the user record
//--
-
2 matches
Mail list logo