Had to create a new DB since I forgot to save mine on the flash drive, made table names and a few column names differently. Now I am stuck on this little gem.
I've tested to make sure the $warrior variable was valid, which it is, it comes from the register form.
Code: Select all
$warrior=$_POST['warrior'];
$isplayer="SELECT * from characters where character=$warrior]";
$isplayer2=mysql_query($isplayer) or die("Could not query players table");
$isplayer3=mysql_fetch_array($isplayer2);
