I'd try something like this. Testing for not equals is '!=' and not
'=' on echo.
<?php
if ($_SESSION['auth'] != "yes") {
echo("<p><a href=''>Login / Signup</a></p>");
echo("<p><a href=''>Signout</a></p>");
exit();
}
?>
Sincerely,
Mike
--
Mike Brandonisio * Web Hosting
Tech One Illustration * Internet Marketing
tel (630) 759-9283 * e-Commerce
[EMAIL PROTECTED] * http://www.jikometrix.net
JIKOmetrix - Reliable web hosting
On May 29, 2006, at 2:39 PM, jnoelcook wrote:
> <?php
>
> if (@$_SESSION['auth'] = !"yes")
> {
> echo = "<p><a href=''>Login /
> Signup</a></p>";
> echo = "<p><a href=''>Signout</a></p>";
> exit();
> }
> ?>
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
- Visit your group "php_mysql" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
