Jump to content

need help in my sql statement


pixeltrace

Recommended Posts

i need help on my mysql statement.

i want to have an output similar to the portfolio updates on this page

http://mango.resonance.com.sg/ILEC/home.php

wherein the property items is displayed in 3 columns.

i actually have the code for the displaying in 3 columns already

but my problem is i dont know how to code the sql statement for this.

 

what i wanted to achieve is to only display the latest 3 updates for the 3

property name (macao, raffles, zayed)

 

something like this

select propety_name, property_desc from property where property name =  raffles, macao, zayed
order by date_created limit 1(per property_name)

 

hope you could help me with this.

 

thanks!

 

Link to comment
https://forums.phpfreaks.com/topic/76309-need-help-in-my-sql-statement/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.