Re: Video #4
Posted: Tue Jun 09, 2009 6:39 pm
where were the mistakes at?
basically they just made the query easy to do. No point in complicating things even more, its php calling mysql.$isaddress="SELECT * from players where email='$email'";
// So basically your speaking english in a programming language!? I mean, this is a human phrase there... is that php or mysql language/data your writing?
this made me wonder in the very beginning too. $isaddress2 is calling isaddress as a query. isaddress is just a variable holding all that is between the quotes. so basically the second line looks like this$isaddress2=mysql_query($isaddress) or die("Not able to query for password");
//Don't understand :/ So basically $isadress2 is becoming every entry that matched $email ?
it is turning the data retrieved into a variable.$isaddress3=mysql_fetch_array($isaddress2);
// Now your fetching everybody that the email address matched in the first line???