Hi,
I'm just learning PHP having coded in ASP for a while.
I want to test whether a recordset is empty or not. In VBscript I would do this as follows:
If rsLogin.EOF or rsLogin.BOF Then
Response.Redirect ....etc
Else
End If
How would I do this in PHP? Neither of my PHP books tell me this. Is it something like:
if ($rsLogin==0)
Any help GREATLY appreciated!