Results 1 to 10 of 11
Threaded View
-
8th Feb 2011, 03:38 AM #3Member
Yes, all timestamps should be set as int.
I would avoid using any extra MySQL processing, though, especially since you're generating your original timestamp with PHP's time().
Something like this would suffice:
Code:$today = strtotime('12:00:00'); $sqlQuery = "SELECT * FROM theTable WHERE the_time >= {$today}";
Coder for hire. I'm an experienced web developer with vast knowledge of PHP, HTML, CSS, MySQL, JavaScript, SEO, and web servers. I also write code for Windows programs with Visual Basic and C#.NET.
All products are written quickly with efficiency, and security in mind.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Help me select Hosting and DNS Company ..
By powermatrix in forum Webmasters, Money MakingReplies: 6Last Post: 9th Jan 2012, 09:33 AM -
[help] Select Distinct - sql
By Solutho in forum Web Development AreaReplies: 2Last Post: 27th Apr 2011, 09:49 AM -
Help Me Select My Phone
By Glenn in forum General DiscussionReplies: 26Last Post: 29th Nov 2010, 05:05 PM -
Plz select The better theme
By Raj24 in forum Forum and DDL DiscussionReplies: 14Last Post: 11th Jun 2010, 09:43 AM -
Select all IPB 3.0
By bmoeller in forum Webmaster ResourcesReplies: 3Last Post: 15th Feb 2010, 12:19 AM
themaCreator - create posts from...
Version 3.52 released. Open older version (or...