Jump to content

Sianide

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Sianide's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Nope Didn't work, Got the same error
  2. Another problem... Here's the error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in C:\xampp\htdocs\main.php on line 225 script: <?php if ($_SESSION['logged'] == 0){ echo "<a href="http://www.habpixelz.com/login.php class="colorlink orange"><span> Login";</span></> } elseif ($_SESSION['logged'] == 1{ echo "<a href="http://www.habpixelz.com/login.php class="colorlink orange"><span>Client";</span></a> } ?> Anyone tell me what i did wrong?
  3. What i meant is this.. Heres an example of what i did when a user logs <?php if ($_SESSION['logged'] == 1) echo "Connected"; else if ($_SESSION['logged'] == 0) echo "Not connected "; ?> But can I take that same script and do something like code in the image to show when the user logs in If you could show me an example of how i would show an image after the if statement i would appreciate it... I'm really new to the PHP Language.
  4. I need a good tutorial site, Easy to understand CSS And JS tutorials.
  5. Hey, I need to make a script that shows an image when the user is logged in and hides it when they aren't. I just don't know if I can do this using PHP. If not can someone tell me what i would have to make it in. Thanks in advance.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.