$result = mysql_query("SELECT * FROM cycles WHERE Upper(brand) LIKE '%$brandC%' AND type LIKE '%$typeC%'");

Above code is not working, pls help.

Recommended Answers

All 2 Replies

$result = mysql_query("SELECT * FROM cycles WHERE Upper(brand) LIKE '%$brandC%' AND type LIKE '%$typeC%'");

Above code is not working, pls help.

the syntax of your query is ok. Something else is going on here. Can you post more code or any MySQL errors you are getting?

managed to solve myself. Thank you very much for your reply.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.