Hello. I'm trying to use a wildcard for a $var. in a SELECT statement.
Can't seem to get it to work. '$search_Recordset2' is the $var.
("SELECT * FROM table WHERE col1 LIKE '$search_Recordset2' OR col2 LIKE '$search_Recordset2' OR col3 LIKE '$search_Recordset2'"
If I use '%$search_Recordset2%' or %'$search_Recordset2'%
I get error.