Form nescessary

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
smallstorm
Forum Newbie
Posts: 1
Joined: Sat Jan 02, 2010 12:13 pm

Form nescessary

Post by smallstorm »

Dear some guides!
I am a newbie here.A form for help:
Description 1:
input type=text
input type=submit name=desc value=More Desc
input type=submit name=submit...
----------------------------------------------------
And click More step will be
Description 2:
input type=text
input type=submit name=desc value=More Desc
input type=submit name=submit...
----------------------------------------------------
And click More step will be
Description 3:
input type=text
input type=submit name=desc value=More Desc
input type=submit name=submit...
----------------------------------------------------and will be descr 4,5...etc
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: Form nescessary

Post by AbraCadaver »

What you have posted doesn't make a lot of sense, but if you're trying to pass the values from the first page to the second and then the first and second to the third etc. you could do it like this:

page 2,3,4,5,etc...

Code: Select all

session_start();
$_SESSION['page_vars'][] = $_POST;
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Post Reply