i get "Parse error: parse error in /home/houseproudlancs_co_uk/search.php
on line 65" when i open the page, line 65 would be the line that starts
with if (textsearch
$search_for = "is";
$the_items_description = "this is where the description would go";
if (textsearch($item_category) == true {
echo ("correct");
} else {
echo ("incorrect");
}
function textsearch($the_items_description)
{
$pos = strpos($the_items_description, $search_for);
if ($pos === false) {
textsearch = false;
} else {
textsearch = true;
}