Re: Video#3
Posted: Wed Jun 09, 2010 4:46 am
Ok, this is the error im getting which is my own error i might add "Could Not Query Players table" and here's my code
*FIXED* Found it took a while though
Code: Select all
<?php
$player=$_POST['player'];
$password=$_POST['password'];
$pass2=$_POST['pass2'];
$player=strip_tags($player);
$email=$_POST['email'];
$email=strip_tags($email);
if ($email == "")
{
echo "You did not submit an email address!<br>";
echo "<A href='register.php'>Go Back</a>";
exit;
}
if ($password==$pass2)
#Needs to be player not Players|vvv|
{
$isplayer="SELECT * from players where name ='$player'";
$isplayer2=mysql_query($isplayer) or die("Could Not Query Players table");
$isplayer3=mysql_fetch_array($isplayer2);