View Single Post
Old 05-07-2009, 12:58 AM   #20 (permalink)
allworknoplay
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default

Quote:
Originally Posted by Village Idiot View Post
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";

allworknoplay is offline  
Reply With Quote