Support » Plugin: Woody ad snippets - Insert Header Footer Code, AdSense Ads » In [insert_php] trying to create a simple input form

  • Hi the code below does not work with in [insert_php] plugin.
    Please help.
    I manged to get other HTML code workin with in [insert_php]

    echo “<form>”;
    echo “<select name=”Department”>”;
    echo “<option value=”First Name”>First Name</option>”;
    echo “<option value=’Last Name’>Last Name</option>”;
    echo “</select>”;
    echo “<input type=’submit’ value=’Submit’>”;
    echo “</form>”;

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WillBontrager


    I’m sorry, Pam, but “does not work” is no help to me at all.

    What does it do that you think it should not?

    What does it not do that you think it should?

    What are the error messages, if any?



    Sorry i should make it clearer,
    the code should produce a drop down list as part of selection criteria for a contact list, some thing like
    `Department’ with a drop down option of Firstname/Lastname and a Submit button.

    Rest of the Html/php code works fine with in insert_php giving me a table of contact list.

    Thank you in advance.

    Plugin Author WillBontrager



    If you’ll put your code into a stand-alone PHP page and type its URL into your browser, you’ll find the errors.

    echo "<form>";
    echo "<select name="Department">";
    echo "<option value="First Name">First Name</option>";
    echo "<option value=’Last Name’>Last Name</option>";
    echo "</select>";
    echo "<input type=’submit’ value=’Submit’>";
    echo "</form>";

    When it runs OK in the stand-alone page, it should run OK with Insert PHP. It’s a great debugging technique.


    Thank You .
    Works fine.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘In [insert_php] trying to create a simple input form’ is closed to new replies.