note 17726 added to ref.mysql

From: Date: Fri, 21 Dec 2001 03:35:38 +0000
Subject: note 17726 added to ref.mysql
Groups: php.notes 
Request: Send a blank email to php-notes+get-23728@lists.php.net to get a copy of this message
To change values already in a MySQL database, use the UPDATE and SET commands. Example: <?php $link = mysql_connect("localhost", "user", "pass");<br> mysql_select("db_name"); $sql = mysql_query("UPDATE table SET colum1='$colum1', colum2='$colum2', colum3='$colum3'"); ?> -- http://www.php.net/manual/en/ref.mysql.php http://master.php.net/manage/user-notes.php?action=edit+17726 http://master.php.net/manage/user-notes.php?action=delete+17726 http://master.php.net/manage/user-notes.php?action=reject+17726

« previous php.notes (#23728) next »