Hi,
I'm trying to update a table from my webpage but not having much luck,
although it works from the command line. Obviously I am missing
something and would appreciate any help.
Also. Is there a good tutorial or help page for Mysql. I find the one at
www.mysql.com not very helpful.
TIA
The code:
<?
$db =mysql_connect("url","name","pass");
mysql_select_db("dbasename");
$query = "UPDATE counter SET number=number+1";
?>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php