RE: [PHP] how to

From: Date: Fri, 23 May 2003 05:53:18 +0000
Subject: RE: [PHP] how to
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-148709@lists.php.net to get a copy of this message
hmm yes i have noticed sometimes between doesnt actually get say 20 or 30 but the rest :| > select * from users where age >=20 OR age<=30; > > Mohit Mittal > Software Engineer > Patni Computer Systems (P) Ltd. > Noida, > Office Tel: > 91 120 2516880 - 83 > Ext: 1261 > Residence Tel: > 91 11 26890175 > > -----Original Message----- > From: Marius [mailto:mariusrk@delfi.lt] > Sent: Thursday, May 22, 2003 11:53 PM > To: php-general@lists.php.net > Subject: [PHP] how to > > > how to make a query in sql to search users age from 20 to 30 ? > > <? > mysql_connect('localhost','user','passwd'); > mysql_selet_db('users'); > > $q = "select * from users where age like ... > $r = mysql_query($q); > ?> > > -- > Marius > mariusrk@delfi.lt > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#148709) next »