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

Thread: Incorporating PHP

  1. #11
    Join Date
    May 2007
    Location
    England, UK
    Posts
    235
    Thanks
    3
    Thanked 6 Times in 6 Posts

    Default

    Set it to the page that is going to collect the data from the form.

    In this case it looks like its the same place that the form is on.

    e.g
    HTML Code:
    <form method="post" action="currentpagename.php">

  2. #12
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    557
    Thanks
    8
    Thanked 66 Times in 66 Posts

    Default

    When you are posting those values, as opposed to being posted to MySQL, and therefore is posting it as queries. Its simply fixed by putting the form action, the <form> tag should look like this:
    PHP Code:
    [COLOR="DarkRed"]<form action="<? $_SERVER['PHP_SELF'?>" method="post">[/COLOR]

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
  •