Arsench Posted December 26, 2008 Share Posted December 26, 2008 Hello my question is about select message from db and display only a part of the selected text, is it possible?Like a search engine output. thanks Link to comment https://forums.phpfreaks.com/topic/138459-select-message/ Share on other sites More sharing options...
Lumio Posted December 26, 2008 Share Posted December 26, 2008 Answer: yes it is possible for example with the mysql function LEFT: http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_left or also with the php function substr: http://php.net/substr Link to comment https://forums.phpfreaks.com/topic/138459-select-message/#findComment-723921 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.