Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Order by substring?

Status
Not open for further replies.

elck

Programmer
Apr 19, 2004
176
NL
Is this at all possible?
In any way or form?

Code:
$query="SELECT title,id,date FROM `content` WHERE `user`='$user' ORDER BY SUBSTRING(title,(INSTR(title,';;')+2)) ASC ";
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top