Jump to content

help with query...


rsammy

Recommended Posts

Yes.  Use left() and give it a nice label that makes sense to you.

 

http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_left

 

SELECT left(org_name,  as cliped_org_name, * FROM orgs WHERE org_name='$org_name' AND org_type='$org_type'

Link to comment
https://forums.phpfreaks.com/topic/93730-help-with-query/#findComment-480291
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.