You are here: Re: Brief description pulled from long description « PHP Programming Language « IT news, forums, messages
Re: Brief description pulled from long description

Posted by Marcin Dobrucki on 02/15/06 17:43

Mikey P wrote:
> basically i have a description in a mysql table. Is there any way to
> pull say like the first 10-20 words for a brief description?

Note quite words, but something like that perhaps:

mysql> select substring(your_description_col,1,80) from your_table;

which will give you the first 80ish charactrs.

/m

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация