I want to update a database. the problem is the following:
the variable $id is ported successfully in the URL (method post)
I use form action PHP_self?update=$id etc.
I can see the varibale in the browser URL line.
but when it comes that it should enter data into the database it doesn't work. also I can't print $id. nothing shows up.
$query=mysql_query("UPDATE jobs SET '$title' WHERE id=$updating");
if I put instead of $updating a number (e.g. 10) it works, it updates the database. but with a variable it doesn't work...
can anybody help me?