[thelist] inserting zero

RUST Randal RRust at COVANSYS.com
Wed Apr 2 11:51:45 CST 2003


> What data type is your field?

INT

I have to be able to add the values with SUM() for other tables. It's
not really a database problem. It appears to be something with PHP.

I was able to get around it using this:

$atbats="";
$atbats=intval($atbats);

and:

<?=$atbats ? stripslashes($atbats): "0"; ?>

----------
Randal Rust
Covansys Corp.
Columbus, OH


More information about the thelist mailing list