Hi Ron,

Have a look at http://www.php.net/manual/en/function.mysql-info.php

----- Original Message ----- From: "Ron Piggott" <ron....@actsministries.org>
To: "PHP DB" <php-db@lists.php.net>
Sent: Monday, November 02, 2009 11:59 PM
Subject: [PHP-DB] PHP Update query

How do I test if an UPDATE query worked

$query = "UPDATE `clients` SET `company` = '$company', `contact` =
'$contact', `phone` = '$phone', `city` = '$city' WHERE
`clients`.`reference` =$client LIMIT 1";



PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to