Menu
hi guys, i just wanted to ask you..
if i use sumthin like
[CODE]$db->query( sumthin here.. );
if ($db->rows) {
while ($row = $db->fetch()) {
sumthin here…
}
}
else {
$db->query( sumthin here.. );
if ($db->rows) {
while ($row = $db->fetch()) {
sumthin here…
}
}
}
can i do that??
i want sumthin like if i do the 1st query, then nuthin comes up, it will do the second query..
what’s the best way to do this??
thanks for your help.. ?
edit: nvm.. thank you anyways guys.. i have tried it and it worked.. ?