Re: Simple Query question
| From: | Scott | Date: | Thu, 30 Nov 2000 14:47:13 +0000 |
| Subject: | Re: Simple Query question | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-4892@lists.php.net to get a copy of this message | ||
Is this search pulling a result at all?
Is the ID field a primary key?
""Noodles Grizzly"" <noodles@pnc.com.au> wrote in message
news:OKEPKDHNMFCJMHAPHHIKIEIECIAA.noodles@pnc.com.au...
> G'day,
>
> This is definately a newbie question, but I haven't been able to find what
I
> need from the online documentation. I've also spent a couple of hours
getting
> frustrated trying everything I can. The best I can do is get the first
row, but
> I can't seem to get all rows that have these restrictions.
>
> I'm trying to do a "select * from dbname where ID='1232' and
name='testname'";
> on a psql table with PHP.
>
> What would be the correct way to get this information?
>
> Best Regards,
> Bob Irwin
> Network Support
> Planet Netcom
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>