Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

[PHP3] Counting stuff in text fields From: Alan Baer (abbaer <email protected>)
Date: 03/02/99

I have a mysql database with some highly variable-length text fields. I
need to write some SQL to fetch only the fields with a certain number of a
character -- specifically, a certain number of commas.

  Pseudo SQL = select * from database where countstrings(text,",")=10;

Other than fetching all the text and processing it in PHP, any suggestions?

Thanks!

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>