Re: Re: php-db foreign key
| From: | Peter Lind | Date: | Tue, 09 Aug 2011 20:16:31 +0000 |
| Subject: | Re: Re: php-db foreign key | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47971@lists.php.net to get a copy of this message | ||
>
> When I dump the query and run it in console I get the results I want. Not
> sure what I am doing wrong.
Your php code had more than one query running (one inside the other).
It's the outer query that runs twice, not the inner one returning
double the results
--
<hype>
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
</hype>