i have bunch of records in my database, and i wana display it in my webpage using php, question is:
How can i make the code for PHP for:
Code: Select all
IF (query return row = 1) {
doThisAction;
}
ELSE (query return many row) {
doThisAction;
}