Re: Limit

From: Date: Mon, 30 Jul 2001 21:39:50 +0000
Subject: Re: Limit
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-60254@lists.php.net to get a copy of this message
No problem, nice to help :) ----- Original Message ----- From: "Jeremy Morano" <jeremy@prepresshelp.com> To: "Matt Kaufman" <phpnet@techboost.com> Sent: Monday, July 30, 2001 11:44 AM Subject: RE: [PHP] Limit > perfect, thank you > > -----Original Message----- > From: Matt Kaufman [mailto:phpnet@techboost.com] > Sent: Monday, July 30, 2001 5:16 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Limit > > > I would just query the database to see how many records are currently listed > (using COUNT) and use an if statement to see if it's over or under the > limit. If it's over you can just print out a message saying that no more > entries can be added. > > Matt Kaufman > ----- Original Message ----- > From: "Jeremy Morano" <jeremy@prepresshelp.com> > To: <php-general@lists.php.net> > Sent: Monday, July 30, 2001 11:23 AM > Subject: [PHP] Limit > > > > How do I put a limit of records that can be entered in a table? > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.general (#60254) next »