could someone point out the error in the followin php/mysql code

$strSearchVal = $_GET['q'];
//database connection..
//...

$strSQL = "SELECT DISTINCT area FROM hospital where area like '%'+ $strSearchVal; ";
$result = mysql_query($strSQL);

while ($arrThisRow = mysql_fetch_array($result )) {
 echo '<li>' . $arrThisRow['area'] . '</li>';
$strSQL = "SELECT DISTINCT area FROM hospital where area like '%$strSearchVal' ";
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.