• Hi guys, I have a form here :

    <html>
    <head>
        <title>Search</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="stylesheet" type="text/css" href="style.css"/>
    </head>
    <body>
        <form action="search.php" method="GET">
            <input type="text" name="query" />
            <input type="submit" value="Search" />
        </form>
    </body>
    </html>

    I have the search.php in the webroot and I need the page to call that .php file. How do I do this? If I want to achive this , I have to include the search.php in my same place as my page html right? But wordpress doesnt allow editing of these?

    Please suggest how I can allow my form to succesfully execute the Php file and display my search results on the same page

    It gives me a 404 – not found page. and the url links to somewhere non existent . Please help =(

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘linking my HTML form to a PHP’ is closed to new replies.