Re: sql problem or logic problem?
| From: | Steve Lawson | Date: | Sat, 07 Oct 2000 16:12:29 +0000 |
| Subject: | Re: sql problem or logic problem? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19048@lists.php.net to get a copy of this message | ||
Hi Kurth.
I noticed something else in your code...
$id = $myrow["id"];
$model = $myrow["model"];
$bedroom = $myrow["bedroom"];
$baths = $myrow["baths"];
$squarefootage = number_format ($myrow["squarefootage"]);
$ondisplay = $myrow["ondisplay"];
php has a function to do that already....
Try extract($myrow);
SL.
----- Original Message -----
From: "Kurth Bemis" <kurth@usaexpress.net>
To: "Steve Lawson" <fookilla@home.com>; "PHP (E-mail)"
<php-general@lists.php.net>
Sent: Saturday, October 07, 2000 9:43 AM
Subject: Re: [PHP] sql problem or logic problem?
> At 09:37 AM 10/7/2000 -0600, Steve Lawson wrote:
>
> i love all you guys! your all so helpful :-)
>
> ~kurth
>
> >Plus.
> >
> >more queries = more resources.
> >
> >Which ultimately means a slower site :(
> >
> >SL.
> >
> >
> >----- Original Message -----
> >From: "Kurth Bemis" <kurth@usaexpress.net>
> >To: <php-general@lists.php.net>
> >Sent: Saturday, October 07, 2000 8:50 AM
> >Subject: [PHP] sql problem or logic problem?
> >
> >
> > > hey all....
> > >
> > > i have written a search engine that searches a database and SHOULD
return
> > > homes that match the search criteria....but - it dosent. it seems to
get
> > > only one of the 4 criteria....the SQL queries look ok...
> > >
> > > give it a try at
> > >
> > > http://www.jrehomes.com/tvhc/search.php
> > >
> > > and the source is at
> > >
> > > http://www.jrehomes.com/tvhc/search.phps
> > >
> > > any help would be welcomed :-)
> > >
> > > ~kurth
> > > Kurth Bemis - Network/Systems Administrator, USAExpress.net/Ozone
Computer
> > >
> > > kurth@usaexpress.net
> > > http://www.usaexpress.net/kurth
> > > ICQ - 6624050
> > > Call Sign - N1TYW
> > > PGP key available -
> > > http://www.usaexpress.net/kurth/pgp
> > >
> > > Fight Weak Encryption! Donate your wasted CPU cycles to
Distributed.net
> > > (http://www.distributed.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
> > >
> >
> >
> >--
> >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
>
> Kurth Bemis - Network/Systems Administrator, USAExpress.net/Ozone Computer
>
> kurth@usaexpress.net
> http://www.usaexpress.net/kurth
> ICQ - 6624050
> Call Sign - N1TYW
> PGP key available - http://www.usaexpress.net/kurth/pgp
>
> Fight Weak Encryption! Donate your wasted CPU cycles to Distributed.net
> (http://www.distributed.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
>