select with string condition display problem
Posted: Wed Dec 25, 2002 10:03 pm
hi
i have a SELECT * FROM cards WHERE card_name LIKE xmas
this query is fine and working
however when i try to to mysql_fetch_array for this query, i get an error
this does not happen when card_name LIKE xmas is an integer card_id = 1 rather than a text
does anyone know how i may still output the results of a query which uses a text as condition?
i have a SELECT * FROM cards WHERE card_name LIKE xmas
this query is fine and working
however when i try to to mysql_fetch_array for this query, i get an error
this does not happen when card_name LIKE xmas is an integer card_id = 1 rather than a text
does anyone know how i may still output the results of a query which uses a text as condition?