Multi-page forms with php?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • CAH

    Multi-page forms with php?

    Hi

    I need to make a multi-page form with php? I am looking for some
    tutorials on how to do this in a simple way, but I need to store the
    result of the multiform in sessions registered variables.

    So a bunch of links to tutorials will do the trick..

    The tuturials I have found is a litle over the top for my project,
    security is not an isue, the data passed is not sensitive. I am trying
    with something along these lines.

    <?php
    session_registe r("BoatID");
    session_registe r("SailID");
    ?>
    <?php
    echo "GUIDE -1-<br>";
    echo "sailidname".$s ailidname."<br> ";
    echo "BoatID".$SailI D."<br>";
    echo "boatidname".$b oatidname."<br> ";
    echo "BoatID".$BoatI D."<br>";
    echo "
    <form method=post action='guide2. php'>
    <input type=\"radio\" name=\"boatidna me\" value=\"0\"
    checked=\"check ed\">
    <input type=\"radio\" name=\"boatidna me\" value=\"1\">
    <input type=\"radio\" name=\"boatidna me\" value=\"2\">
    <input type=\"radio\" name=\"boatidna me\" value=\"3\">
    <input type=\"radio\" name=\"boatidna me\" value=\"4\">
    <input type=\"radio\" name=\"boatidna me\" value=\"5\">
    <input type=\"radio\" name=\"boatidna me\" value=\"6\">
    <input type=\"radio\" name=\"boatidna me\" value=\"7\">
    <input type=\"radio\" name=\"boatidna me\" value=\"8\">
    <input type=\"radio\" name=\"boatidna me\" value=\"9\">
    <input type=submit>
    </form>
    ";
    ?>


    But I would like to see a tutorial on the subject, thanks for any help
    in advance.

    Cah

  • smorrey@gmail.com

    #2
    Re: Multi-page forms with php?

    I would serialize the values into an array and store it in the
    $_SESSION global array.

    This function seems to be the crux of your problem.


    Comment

    Working...