1
corne
Results
  • 2005/1/19 10:31

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


How can i check if the query result is 1 row?

I must do a check, if the number of rows returned by the query = 0 than do something
if rows 1 (or > 0) do something..

2
Mithrandir
Re: Results

if ($xoopsDB->getRowsNum($result) == 0) {
 
//
}
else {
 
//
}

Login

Who's Online

522 user(s) are online (71 user(s) are browsing Support Forums)


Members: 0


Guests: 522


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits