reading records alphebetically

From: Date: Sat, 30 Jun 2001 17:29:59 +0000
Subject: reading records alphebetically
Groups: php.general 
Request: Send a blank email to php-general+get-55668@lists.php.net to get a copy of this message
Hi, I have a MySQL database set-up containing a few hundred records. I'm trying to make a script that reads the 'name' field of the records and displays only the records of which the name field begins with a specific letter: if ($letter = A) { display all records of which field 'name' beings with A } else if ($letter = B) { ... I'm just starting out on this, so please excuse my ignorance :) Jamie Saunders jamie.s@btinternet.com

« previous php.general (#55668) next »