MySQL + PHP (grouping by date)

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
pbs
New php-forum User
New php-forum User
Posts: 53
Joined: Sat May 11, 2013 1:40 am
Location: Nashik, India
Contact:

Re: MySQL + PHP (grouping by date)

Post by pbs » Tue Jun 04, 2013 8:52 pm

try this query

Code: Select all

SELECT id,subject,time FROM TABLE GROUP BY time

johnmacd
New php-forum User
New php-forum User
Posts: 75
Joined: Wed Jun 12, 2013 9:30 pm
Contact:

Re: MySQL + PHP (grouping by date)

Post by johnmacd » Thu Jun 13, 2013 10:35 pm

Use group by clause for time in mysql query.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Mithunkumar and 5 guests