Re: request

From: Date: Sat, 26 Apr 2003 14:46:07 +0000
Subject: Re: request
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-145356@lists.php.net to get a copy of this message
On Saturday 26 April 2003 23:35, Marius wrote: > <?php > mysql_connect('host','user','passwd'); > mysql_select_db('db'); > > $q = "select * from table where column like '$word'"; > $res = mysql_query($q); > while($row = mysql_fetch_array){ > echo $row['column']; > } > > ?> > > what funcion should I use that mysql echoes only rows with records What do you mean by record? -- in this context, I take it that row and record mean the same thing. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* The right half of the brain controls the left half of the body. This means that only left handed people are in their right mind. */

« previous php.general (#145356) next »