MySQL + PHP (grouping by date)

Ask about general coding issues or problems here.

Moderators: egami, macek, 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:

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: 72
Joined: Wed Jun 12, 2013 9:30 pm
Contact:

Thu Jun 13, 2013 10:35 pm

Use group by clause for time in mysql query.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests