[thelist] inserting zero
RUST Randal
RRust at COVANSYS.com
Wed Apr 2 10:06:27 CST 2003
> On the addStats.php page, I want to display a default value
> of "0" in each field. But nothing gets displayed unless I
> make the value "00."
Sorry, I really wasn't specific enough here. I want the value of the
variable to be "0."
$hits="0"; doesn't display anything.
$hits="00" displays 00.
On the other hand, I get what I want, kind of, with:
<?=$hits ? stripslashes($hits) : "0"; ?>
----------
Randal Rust
Covansys Corp.
Columbus, OH
More information about the thelist
mailing list