05-07-2009, 12:58 AM
|
#20 (permalink)
|
|
The Gregarious
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
|
Quote:
Originally Posted by Village Idiot
The UPDATE clause does not return any rows, counting the rows it returns will always be zero.
|
Hmm.....can he do this?
PHP Code:
$update = mysql_query("UPDATE settings SET `sitename` = '".$websitename."' WHERE `build` = '1.0a'") or die(mysql_error());
if($update) {
echo "Success";
}
|
|
|
|