Hi pals,
Thanks a lot for all the PHP pals , I have recoded my script an'
now itz working fine.
cheers an' regards,
- JFK
kishor
Nilgiri Networks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-m
the closing "" tag.
>
> Jim
> - Original Message -
> From: "J.F.Kishor" <[EMAIL PROTECTED]>
> To: "PHP Mailing List" <[EMAIL PROTECTED]>
> Sent: Tuesday, December 18, 2001 5:26 AM
> Subject: [PHP] Error while calling a funct
Steve is right on the money.
Your function definitions are inside a conditional if statement which means
that they may or may not be parsed. Your call to the function, on the other
hand, is not within that same conditional if statement. That means your
functions is getting called unconditionall
Try putting a closing "?>" php tag just before the final HTML.
Jim
- Original Message -
From: "J.F.Kishor" <[EMAIL PROTECTED]>
To: "PHP Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 18, 2001 5:26 AM
Subject: [PHP] Error while cal
I don't know all the details about how PHP compiles a program, but
having your function definitions in an if-else statement that may not be
executed looks suspicious to me.
You've got
if(!$Phone)
{
do something
}
else
{
function is_phone() { ...blah, blah...}
}
is_phone($Phone);
If
hi all,
I have got a problem, when I execute the following script it gives
a Fatal error, could any one tell me why is it ?, If this is a silly
problem please execuse me but, plz do reply me.
The script is
-
Telephone Number :
}
else
{
function is_allnu
6 matches
Mail list logo