lewisstevens1 Posted April 13, 2009 Author Share Posted April 13, 2009 Woah now i gettin a strange page: http://www.stonersgathering.com/darkfamily/process.php Link to comment https://forums.phpfreaks.com/topic/153787-solved-update-field-help-please/page/2/#findComment-808596 Share on other sites More sharing options...
lewisstevens1 Posted April 13, 2009 Author Share Posted April 13, 2009 Ah found what was wrong $con = mysql_connect("localhost","stonersg_dfadmin","password"); if (!$con) { die('Could not connect: ' . mysql_error()); }mysql_select_db("stonersg_darkfamily", $con); mysql_query("UPDATE available SET deathknight='Available' WHERE id = '1'", $con) or die(mysql_error($con)); echo "<br/>UPDATED ". mysql_affected_rows($con)." rows<br/>"; mysql_close($con); another script which i tried before didnt seem to make a difference but changed it from not available to available, so when i was trying to run that script, it couldnt make any further changes. Its working now, and thanks for all who tried to help and thanks Ratcateme for pointing that out lol. thanks all. Link to comment https://forums.phpfreaks.com/topic/153787-solved-update-field-help-please/page/2/#findComment-808600 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.