I’m learning php, and right now I’m stuck. I have code that has to update info in table called title with fields id and zagolovok, but it doesnt update, and shows white screen with no errors.
$db = mysql_connect('server', 'login', 'passr' );
mysql_select_db(u20221, $db);
$query = mysql_query("UPDATE title SET zagolovok = '$_REQUEST[title]' WHERE id = 5");
mysql_close($db);
Ps server/login/pass changed due to privacy
Try this
Is title your table name or your column ???
The Syntax is
UPDATE table SET column = value WHERE ...