Jump to content

Archived

This topic is now archived and is closed to further replies.

gtridez

Need help with selecting multiple WHERE conditions...

Recommended Posts

Hey guys...i'm wondering if anyone knows how to have multiple WHERE conditions...

example --> SELECT * FROM table [b]WHERE rid=$ride && uid=$userid && accepted='0'[/b]

I need help selecting rows where all three of the conditions above are met...anyone knows how to do this?
any help will be greatly appreciate...
thanx

Share this post


Link to post
Share on other sites
Why not use the word "AND"?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.