Hi,
here i am again asking for help lol. In my code i have 3 lines as shown below, i am almost sure i shouldn't have it the way it is. So my question is what is the right way of doing this? sorry guys for all the questions, as you can see i'm still learning. thanks.
PHP Code:
if ($row = mysql_fetch_array($result)){
if ($row["actnum"] == "0"){
if ($row["numloginfail"] <= 5){
Should it be like this?
if ($row = mysql_fetch_array($result)){
}
if ($row["actnum"] == "0"){
//Code here
}
if ($row["numloginfail"] <= 5){
//Code here
}