Start New Discussion within our Web Development Community

I do not see it!

    //Code for Header and Search Bar

    function headerAndSearchCode() {
    $defaultText = htmlentities($_GET['keywords']);
    echo '
    <header id="main_header">
    < div id= "rightAlign">


      //links will be here

        <a href=\"index.php\"><imgsrc=""></a>
    <div id=\ "top_search\">
        <form name=\"input\" action=\"search.php\" method=\get\">
        <input type=\"text\" id=\"keywords\" size="\100px\" class=\"searchBox\"  

        <select id=\"category\" name\"category\" class=\"searchBox\">

//include categories here
echo '

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


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=\"\">
This article has been dead for over six months. Start a new discussion instead.