Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: recognizing if submit button is clicked

  1. #11
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    2,024
    Thanks
    16
    Thanked 315 Times in 313 Posts
    Blog Entries
    13

    Default

    I don't know - you haven't posted your page

    In this simple example, the PHP processing script would go into a file for processing, so let's call it "process.php".

    Then you'd point to it via the form action attribute, so it is actioned once the form is posted;
    Code:
    <form action="process.php" method="post">
    I suggest you Google a few PHP form tutorials first though.
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  2. #12
    Join Date
    Jul 2012
    Posts
    197
    Thanks
    54
    Thanked 3 Times in 3 Posts

    Default

    @ Terry

    It would be nice if you post the code you are working , then members can add your requirement in that code and it will understand and clear your doubts.
    You will know the truth, and the truth will set you free (John 8:32)(The truth is about the only begotten son of GOD.....When you feel you are alone for facing your problems, God will never leave you by your own You are important for God

  3. #13
    Join Date
    May 2013
    Location
    Southampotn
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,
    Thanks to everyone, I think I'm on my way now.
    I am reading PHP, slowly!

Similar Threads

  1. Convert submit button to Onchange submit
    By stand247 in forum JavaScript
    Replies: 3
    Last Post: 10-25-2011, 10:01 AM
  2. Replies: 0
    Last Post: 03-11-2011, 09:20 PM
  3. Making Div Button work like submit button
    By balushahi in forum JavaScript
    Replies: 1
    Last Post: 03-21-2008, 04:42 PM
  4. Replies: 0
    Last Post: 12-05-2005, 10:46 AM
  5. Which Button was clicked?
    By jdc in forum JavaScript
    Replies: 1
    Last Post: 10-17-2005, 09:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •