What if I want the function to be processed within the " " quotes?  Same as
a variable might be interopelated?  IOW, can I call a function without
concantenating the function together with the string?

*being a little stubborn*


----- Original Message -----
From: "Karl J. Stubsjoen" <[EMAIL PROTECTED]>
To: "PHP Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, January 19, 2001 10:17 AM
Subject: [PHP] Function / String Problem


> Okay, what is wrong with this:
>
>        echo "<br><br>...are you logged in: $LoggedIn()<br><br>";
> // outputs:    ...are you logged in: ()
>
> Function is:
> function LoggedIn(){
>   global $HTTP_POST_VARS
>         if ($HTTP_POST_VARS["Login"] == "PHPIsCool")
>         {return "YES";}
>         else
>         {return "NO";}
> }
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to