multiple entries in the same field

From: Date: Wed, 04 Jul 2001 09:55:30 +0000
Subject: multiple entries in the same field
Groups: php.general 
Request: Send a blank email to php-general+get-56150@lists.php.net to get a copy of this message
Hi, In a MySQL database I have one field that holds several entries seperated by a comma (e.g. item1,item2,item3). What I want to do is to get these items from the db from a PHP script and display each item on it's own line (e.g. item1<br>item2<br>item3). Is there anyway of doing this easily by simply changing each comma to a '<br>' in the script? Thanks. Jamie Saunders jamie.s@btinternet.com

« previous php.general (#56150) next »