PHP – summon a function using buttons

Code with C | Programming: Projects & Source Codes Forums PHP PHP – summon a function using buttons

This topic contains 1 reply, has 1 voice, and was last updated by  SapnaVishwas 2 years, 7 months ago.

  • Author
  • #10848

    I’ve a bit of a problem with PHP and the interwebs is full of contradicting information.
    Basicly, I want to summon a function that uses the values using a htmlbutton. I’ve found that you can have your server listening to a form with some buttons in it, but it still won’t work…
    Here’s my function:

    and here’s my form:

  • #10849


    ou put that php code as a function but you never actually call that function. Unless there is more code you didn’t post here. Try this:

    And make sure you clean anything that comes from user input. Although I have no clue what you will do with the data from the input, but it`s best to get the habit of closing security issues right away.

You must be logged in to reply to this topic.