Re: SELECT
| From: | peppe | Date: | Thu, 04 Mar 2004 12:02:40 +0000 |
| Subject: | Re: SELECT | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-33290@lists.php.net to get a copy of this message | ||
The problem is in access values are like string 1,2,3,4,5
"Richard Davey" <rich@launchcode.co.uk> wrote in message
news:140555458.20040304113129@launchcode.co.uk...
> Hello peppe,
>
> Thursday, March 4, 2004, 11:28:30 AM, you wrote:
>
> p> Hi I have a table users with columns name email and access
> p> In email I have values test@test.com etc in access I have values
1,2,3,4,7,8
> p> How can I filter value 2 ?
> p> Beacause I need only users with value 2 to send email
>
> SELECT * FROM users WHERE access=2
>
> --
> Best regards,
> Richard Davey
> http://www.phpcommunity.org/wiki/296.html