Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Website Design
[help] User selected background
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Dobby" data-source="post: 262216" data-attributes="member: 1559"><p>I'm trying to allow a user to select a background of their choice when they login but i am not sure how to do this. </p><p></p><p>I have already set backgrounds to choose from and i have a bg colum with a default of 1 in my table but i am not sure how to tell my database how to work with it.</p><p></p><p>WHat im trying to do:</p><p></p><p>if bg = 1 then default background</p><p>if bg = 2 then tree background</p><p>if bg = 3 then cat background</p><p></p><p>That is what i am after. When someone is not logged in i would like it to be the default background until they login and then for it to change to the background they chose earlier once logged in.</p><p></p><p>Make any sense?</p></blockquote><p></p>
[QUOTE="Dobby, post: 262216, member: 1559"] I'm trying to allow a user to select a background of their choice when they login but i am not sure how to do this. I have already set backgrounds to choose from and i have a bg colum with a default of 1 in my table but i am not sure how to tell my database how to work with it. WHat im trying to do: if bg = 1 then default background if bg = 2 then tree background if bg = 3 then cat background That is what i am after. When someone is not logged in i would like it to be the default background until they login and then for it to change to the background they chose earlier once logged in. Make any sense? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Website Design
[help] User selected background
Top