unexpected T_STRING on line 15

 
0
 

I do not see it!

 <?php //Code for Header and Search Bar function headerAndSearchCode() { $defaultText = htmlentities($_GET['keywords']); echo ' <header id="main_header"> < div id= "rightAlign"> '; //links will be here </div> <a href=\"index.php\"><imgsrc="http://www.lisa1986.com/images/mainLogo.png"></a>
              </header>
    <div id=\ "top_search\">
        <form name=\"input\" action=\"search.php\" method=\get\">
        <input type=\"text\" id=\"keywords\" size="\100px\" class=\"searchBox\"  

        value=\"$defaultText\">  
        <select id=\"category\" name\"category\" class=\"searchBox\">


";
//include categories here
echo '
    </select>

    <input type="submit" value"Search" class"button" />
    </form>
    </div>



';
}
?>
 
1
 

Between line 11-13 there is no echo and on line 15 you are not escaping double quotes as in the other tags. Change it to:

<img src=\"http://www.lisa1986.com/images/mainLogo.png\">
You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article