hi.
i am using chronoform so, i would to ask how to create php code in this query so that it will display more than one category?i have tried but it only display one category even i chose two category.
below is an example code of submit form from user.
and this one is the query which will display submitted form from user.I guess something's wrong with this query but not sure how to correct it.
i am using chronoform so, i would to ask how to create php code in this query so that it will display more than one category?i have tried but it only display one category even i chose two category.
below is an example code of submit form from user.
<select name="Category" multiple="multiple" >
<option value ="-Select-">-Select-</option>
<option value="Arts & Entertaiment">Arts & Entertaiment</option>
<option value="Business & Professional Services">Business & Professional Services</option>
<option value="Clothing & Accessories">Clothing & Accessories</option>
</select>
and this one is the query which will display submitted form from user.I guess something's wrong with this query but not sure how to correct it.
<?
$query = "select * from jos_chronoforms_submit_listing_page where txtCat LIKE '%Arts & Entertaiment%' ";
$result = mysql_query($query);
while($query_data=mysql_fetch_array($result))
{
$txt1 = $query_data["txtCat"];
echo "$txt1";
}
?>