Jump to content

Recommended Posts

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.