|
|
 |
Re: FN-FORUM: PHP - WHAT AM I DOING WRONG
date posted 14th June 2003 14:22
Quoting PAMELA WHITTAKER [EMAIL REMOVED]
> sorry - it still doesn't work :-
>
> function valid_form($Franchise, $Maximum) {
> $Error_msgs = 0;
> if ($Franchise === "Select") {
What's === ?
> $GLOBALS['Franchise_Error_msg'] = "Please select a Franchise";
> $Error_msgs = $Error_msgs + 1;
> }
> $Maximum = trim($Maximum);
> if (($Maximim !== "") & !(is_numeric($Maximum))) {
and !== ?
> if (($_POST['submit'] === "SEND") & valid_form($_POST['Franchise'],
> $_POST['Maximum'])){
and === here again?
James
|
 |
|