note 10643 deleted from function.mysql-fetch-object by felipe
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
Note Submitter: amackenz at cs dot uml dot edu ---- When selecting with a count/sum, the field must be named. select count(*) from users; becomes select count(*) as total from users; This way the result can be referenced as: $row->total;