sql query...??

wxdqz

New Member
say I type this query... :

SELECT *
FROM tablename
WHERE username = '$username'
AND password = '$password'

(using php)

What is a good check to see if there is any results on this query..? isn't there a sort of "recordcount" in php.. like there is in CFML..?

What do you type to print out the results..? if I want the name, email from the table..what do I type..?
 
Back
Top