Page 1 of 1
Passing values between forms.
Posted: Thu Oct 23, 2003 10:42 am
by mvital
HI all
all i want to do its very simple

( i think ) i have several forms and i want to the pass the values of the 1st to the 2sd form , etc
how can i do it ??
im using php 2.3.2 and dreaweaver mx
and just i say before im starting TODAY with php !!
thz in advanced
Posted: Thu Oct 23, 2003 10:49 am
by markl999
and just i say before im starting TODAY with php
I'd try the multi page forms thing next week then. Walk before you can run
But seriously, if you're only just starting PHP today, and you're already asking for help, then something is wrong. I/we could tell you the answer but i'm a great believer in "Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime".
http://www.php.net/docs.php will teach you to fish

Posted: Thu Oct 23, 2003 10:59 am
by mvital
just give a clue ..... where i should start , i can do a simple form , pass the values to a DB , but i just dont know how to start

Posted: Thu Oct 23, 2003 11:05 am
by devork
you better first get understanding of php with html
you will find it very easy ...
Posted: Thu Oct 23, 2003 11:08 am
by volka
Posted: Thu Oct 23, 2003 11:08 am
by devork
you better first get understanding of php with html
you will find it very easy ...
Posted: Thu Oct 23, 2003 11:09 am
by markl999
Posted: Thu Oct 23, 2003 11:10 am
by mvital
Thz all , i will read the tutorials

Posted: Thu Oct 23, 2003 11:11 am
by JAM
Code: Select all
<pre>
<?php
if (isset($_POST['test']) and !empty($_POST['test'])) {
$value = $_POST['test'];
} else {
$value = 'Nothing...';
}
?>
Type something and press Submit...
<form method="post">
<input type="text" name="test" value="<?php echo $value; ?>" />
<input type="submit" />
</form>
</pre>

Posted: Thu Oct 23, 2003 11:13 am
by devork
learn by doing

gl
Posted: Thu Oct 23, 2003 11:17 am
by mvital
great tutorial in at ZEND , now i figured what im doing !!!!!