weezy8802 Posted April 7, 2008 Share Posted April 7, 2008 i set the color to change daily. When you go to the site though it clashes the color but it disappears during the page load. Any ideas on what i should do? Quote Link to comment https://forums.phpfreaks.com/topic/99944-background-problem/ Share on other sites More sharing options...
rhodesa Posted April 7, 2008 Share Posted April 7, 2008 There could be lot's of reasons. Do you have a link to the site so we can see it in action? Quote Link to comment https://forums.phpfreaks.com/topic/99944-background-problem/#findComment-511106 Share on other sites More sharing options...
weezy8802 Posted April 8, 2008 Author Share Posted April 8, 2008 I am having a time trying to figure this out. The site is http://www.liquidsbids.pokerteamusa.com Thanks for any help. Quote Link to comment https://forums.phpfreaks.com/topic/99944-background-problem/#findComment-511786 Share on other sites More sharing options...
haku Posted April 8, 2008 Share Posted April 8, 2008 What do you mean 'clashes the color'? And how are you setting this color change? Are you using javascript? CSS? PHP? Quote Link to comment https://forums.phpfreaks.com/topic/99944-background-problem/#findComment-511789 Share on other sites More sharing options...
weezy8802 Posted April 8, 2008 Author Share Posted April 8, 2008 ok i am using php and here is the code: <?php if(date("D") == "Sun") { $BGColour = "#CCCCCC"; } elseif(date("D") == "Mon") { $BGColour = "#A6CAF0"; } elseif(date("D") == "Tue") { $BGColour = "#E79703"; } elseif(date("D") == "Wed") { $BGColour = "#AE9675"; } elseif(date("D") == "Thu") { $BGColour = "#CFDDF4"; } elseif(date("D") == "Fri") { $BGColour = "#CCCCCC"; } elseif(date("D") == "Sat") { $BGColour = "#A6CAF0"; } ?> Quote Link to comment https://forums.phpfreaks.com/topic/99944-background-problem/#findComment-511792 Share on other sites More sharing options...
haku Posted April 8, 2008 Share Posted April 8, 2008 How and where are you applying that? And what do you mean 'clashes the color'? What exactly is your problem? Quote Link to comment https://forums.phpfreaks.com/topic/99944-background-problem/#findComment-511795 Share on other sites More sharing options...
weezy8802 Posted April 8, 2008 Author Share Posted April 8, 2008 Well that is the least of my problems now , i quess i need to find a decent webhost. Any ideas? I have been on freinds server for free but now its down. I really aint that good at this yet but i am learning as i go. I didnt know were the code went i just put it at the end of the code, so it is probably in the wrong spot. Edited:Now my site is up and his is down, I realy dont know. Quote Link to comment https://forums.phpfreaks.com/topic/99944-background-problem/#findComment-511798 Share on other sites More sharing options...
haku Posted April 8, 2008 Share Posted April 8, 2008 Do you not want help? Quote Link to comment https://forums.phpfreaks.com/topic/99944-background-problem/#findComment-511801 Share on other sites More sharing options...
weezy8802 Posted April 8, 2008 Author Share Posted April 8, 2008 Yes i would like help Ok this is what i need to get done, and i dont know how to. Make my site Graphical, business like. i am willing to pay if i have to. Quote Link to comment https://forums.phpfreaks.com/topic/99944-background-problem/#findComment-511802 Share on other sites More sharing options...
rhodesa Posted April 9, 2008 Share Posted April 9, 2008 I am a big fan of 1&1 web hosting. I've been with them for a while now. GoDaddy is also good for cheap yet reliable place to host. Once you get your site back up, let me know and we can revisit the background issue. Quote Link to comment https://forums.phpfreaks.com/topic/99944-background-problem/#findComment-513075 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.