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_desc ription = "this is where the description would go";
if (textsearch($it em_category) == true {
echo ("correct");
} else {
echo ("incorrect" );
}
function textsearch($the _items_descript ion)
{
$pos = strpos($the_ite ms_description, $search_for);
if ($pos === false) {
textsearch = false;
} else {
textsearch = true;
}
on line 65" when i open the page, line 65 would be the line that starts
with if (textsearch
$search_for = "is";
$the_items_desc ription = "this is where the description would go";
if (textsearch($it em_category) == true {
echo ("correct");
} else {
echo ("incorrect" );
}
function textsearch($the _items_descript ion)
{
$pos = strpos($the_ite ms_description, $search_for);
if ($pos === false) {
textsearch = false;
} else {
textsearch = true;
}
Comment