proctk Posted July 27, 2007 Share Posted July 27, 2007 Hi I have a mysl column that will has value in the format below the "string - anytextvalue" string-string,string-number I have a variable that could equal only the number value in the above. I need to somehow write a query that will search the table and return results based on the number. any help is excellent __________________ Link to comment https://forums.phpfreaks.com/topic/62055-break-down-string/ Share on other sites More sharing options...
fenway Posted July 31, 2007 Share Posted July 31, 2007 Sounds like you're storing multi-part data in a single field... that's a no-no. You could try and write a quick-and-dirty parse for mysql to use, but that's ugly. Link to comment https://forums.phpfreaks.com/topic/62055-break-down-string/#findComment-311834 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.