Jeff, you need to remove the equal signs from the echos, it should be

echo "bla bla";

not

echo = "bla bla";  //INVALID


Ray



On 5/30/06, Jeffrey Cook <[EMAIL PROTECTED]> wrote:
>
> All,
>
> Thanks for all your suggestions.  I took out the @ symbol, but that didn't
> change anything.  I placed the ! in front of the =, which was a
> typo.  Unfortunately, that still didn't help.
>
> I decided to try many other things on my own.  In the end, I decided to
> place an include on the HTML page and created a PHP page for the code of
> this feature.
>
> It is still not working.  The include command on the HTML is such:
>
> <?php
>
> include("login_signout.php");
>
> ?>
>
> The PHP page is as such:
>
> <?php
> /* File: login_signout.php
> * Desc: Displays Login / Signup link when not logged in
> * Desc: And the Signout link when you are logged in.
> */
>
> session_start();
> if ($_SESSION['auth'] != "yes")
> {
>   echo = "<p><a href=''>Login / Signup</a></p>";
>   include("index.htm");
> }
> else
> {
>   echo = "<p><a href=''>Signout</a></p>";
>   include("index.htm");
> }
> ?>
>
> Again, after uploading these updated pages and visiting the index page
> when logged out, I still see neither link.  Are there any other ideas you
> may have?
>
> Again, I greatly appreciate any help with this.
>
> Jeff
>


[Non-text portions of this message have been removed]



The php_mysql group is dedicated to learn more about the PHP/MySQL web database possibilities through group learning.



SPONSORED LINKS
American general life and accident insurance company American general life insurance company American general life
American general mortgage American general life insurance Computer internet security


YAHOO! GROUPS LINKS




Reply via email to