Re: proper PHP for use w/ "IS NOT NULL"
okay...
$rows = mysql_num_rows($query);
if ($rows > 0) {
// do this
} elseif ($rows == 0) {
echo "<p>there are $rows rows in this query</p>";
} else {
}
-- -- -- --
Use CSS [ content:" ?? " ] for Unicode + Control Chars (e.g. newline, etc)... Gain understanding of Codepage, Charset, Encoding, Keymapping... Generate CSS and JavaScript on-the-fly with PHP... Tales from the Communications Dept @ NoviceNotes.Net
Edited 1 time(s). Last edit at 12/10/2005 04:04PM by Jeff Sabarese.
Subject
Views
Written By
Posted
8517
December 10, 2005 02:07PM
3302
December 10, 2005 03:03PM
2497
December 10, 2005 03:11PM
2219
December 10, 2005 03:25PM
Re: proper PHP for use w/ "IS NOT NULL"
2501
December 10, 2005 04:03PM
2355
December 10, 2005 04:17PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.