Hello, In ASP you can set records fields then call a dbupdate function.
There is no such function in PHP.
It appears mysql only supports update with the UPDATE query?
Huh ... MySQL is a database. It understands SQL. dbupdate() is an ASP function ... don't blame MySQL if it doesn't understand ASP ;) The only way to update data in MySQL is to use SQL, and in SQL to update data you use UPDATE queries :)
Here is my code:
$dbrec=getrec($result);
This is not PHP code. There is no function called getrec().
If you want to access a MySQL database using PHP you will also need to learn SQL. You need to learn how to write SQL update queries ...
I suggest that you read the PHP online manual and learn all about the MySQL functions. Read this section and then try again:
http://jp.php.net/manual/en/ref.mysql.php
Jean-Christian
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php