| Index
» Projekty
» phpMyEdit
» Fórum
» OR search |
 |
tyler4iq
Založený: 16.11.2005
Príspevky: 2
Zaslal: 2005-11-16 23:01
Návrat hore
Odpovedať s citátom
|
Is it possible to perform an OR search across columns?
for example:
column1 column2 column3
data1 data1 data1
Select * from table xyz where 'column1' = "data1" OR 'column2' = "data1" OR 'column3' = "data1";
Thanks
|
tyler4iq
Založený: 16.11.2005
Príspevky: 2
Zaslal: 2005-11-30 17:46
Návrat hore
Odpovedať s citátom
|
I modifed the phpMyedit.class.php, and it allows me to do OR searches.
Just replace "AND" with "OR".
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|