SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Select table ID based on day of week value???
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sunseeker
Starting Member

United Kingdom
1 Posts

Posted - 12/14/2012 :  09:45:16  Show Profile  Reply with Quote
Hi all

I am going nutts. I am trying to find a way to get php to select the table ID based on the day of week (0-6) on the server date.

I am wanting 7 versions of page content, depending which day of week it is.

I can't get the date time stamp and code on my page to connect / work.

Any help please. I would need to know how to format the time stamp field in mySQL, and then the code for the 'select form table ID column' which would be based on the server day of week value.

sunitabeck
Flowing Fount of Yak Knowledge

5155 Posts

Posted - 12/14/2012 :  09:57:18  Show Profile  Reply with Quote
If you are using MySQL, you may get better and faster responses at a forum such as dbforums.com. This forum is for Microsoft SQL Server.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000