Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
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???
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

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.

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 This forum is for Microsoft SQL Server.
Go to Top of Page
  Previous Topic Topic Next 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.02 seconds. Powered By: Snitz Forums 2000