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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.