Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 07-09-2013, 11:03 AM   #1
noahwilson
Registered User
 
Join Date: Mar 2013
Posts: 246
alternate header images for user login status.

I’ve tried a couple of variations with this. How do I determine whether a user is logged in or not, and depending upon that status variable, display the appropriate header?

<img src="/images/{if $info.header_status}imageA{else}imageB{/if}.jpg">
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
noahwilson is offline   Reply With Quote

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Status code 302 found? jamesranatte Web Promotion 6 03-24-2015 07:20 AM
alternate header images for user login status. binarynpixel Programming General 1 07-10-2013 01:42 AM
Dynamic images optimization ncjbhd Search Engine Optimization 1 01-22-2013 01:53 AM
facebook status update via iphone josefaryan Programming General 4 06-12-2012 04:16 AM
Showing and Hiding images ncjbhd HTML / DHTML 1 09-27-2011 03:41 AM


All times are GMT -7. The time now is 03:49 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.