Keeping a user logged in
Posted: Sun Oct 04, 2009 5:04 am
hello! i must say i find your tutorials very useful and what helped me out a lot was to read a php book before hand. Much like any language you need to practice before you can get the hang of it so thank you for your videos.
now to my request
I'm having a difficult time keeping my user logged in
i would like to change the player1 part in the code to reflect the user who is logged in in your attack.php code
once again thanks for time and efforts they are much appreciated
now to my request
I'm having a difficult time keeping my user logged in
i would like to change the player1 part in the code to reflect the user who is logged in in your attack.php code
Code: Select all
$playerinfo="SELECT * from players where name='player1'";
$playerinfo2=mysql_query($playerinfo) or die("could not get player stats!");
$playerinfo3=mysql_fetch_array($playerinfo2);