![]() |
|
|
|||||||
![]() |
|
|
Thread Tools | Rate Thread |
|
|
PM User | #1 |
|
Regular Coder ![]() Join Date: Jan 2005
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
Easy quick question
Currently I have:
$query = "SELECT * FROM users WHERE ip = '$user_ip'"; how can I make is query where ip = '$user_ip'"; OR when something else is true. So, whats the mysql/php command to have a query be able to have multiple conditions Example: I know you can do WHERE something != '$some' (where the column is not equal to the var.) But, how do you do something like: WHERE this is true OR where this is true. what is the command for or? |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Rate This Thread | |
|
|