?php
$ad = ereg_replace (\, q, $ad); # prevents an error when sending $ad
through an HTML form
$ad = ereg_replace (', a, $ad); # prevents a mysql error
$ad = ereg_replace (%, p, $ad); #prevents a mysql error
$ad = ereg_replace (, bs, $ad); #prevents a mysql error
# splits the ad into an
comparing its value
?php
if (isset($_REQUEST['cbox']) {
// do code
}
?
Jason
-Original Message-
From: jas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 10:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] calculation based on checkbox
?php
$ad = ereg_replace (\, q, $ad
2 matches
Mail list logo