user4fun Posted August 29, 2007 Share Posted August 29, 2007 I need a select statment that would select all calumns form tblMain where column W1 OR W2 OR W3 is equal to the strtolower of the variable posted $entry.The || or sign is not working right for me lol Link to comment Share on other sites More sharing options...
justsomeguy Posted August 29, 2007 Share Posted August 29, 2007 $sql = "select * from tblMain where W1='" . strtolower($entry) . "' or W2='" . strtolower($entry) . "' or W3='" . strtolower($entry) . "'"; Link to comment Share on other sites More sharing options...
user4fun Posted August 31, 2007 Author Share Posted August 31, 2007 Thew simple things that just makes stuff workThankx again. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.