note 17726 deleted from ref.mysql by jimw
| From: | jimw@php.net | Date: | Fri, 21 Dec 2001 03:37:36 +0000 |
| Subject: | note 17726 deleted from ref.mysql by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-23729@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'");
?>