Connecting Tech Pros Worldwide Forums | Help | Site Map

how to create a form which submits data to itself????

vishal
Guest
 
Posts: n/a
#1: Jul 17 '05
how can i create a form which is when submitted calls itself

i mean what to write in action property of form element

thxs


micha
Guest
 
Posts: n/a
#2: Jul 17 '05

re: how to create a form which submits data to itself????



vishal wrote:[color=blue]
> how can i create a form which is when submitted calls itself
>
> i mean what to write in action property of form element
>
> thxs[/color]


<form name="form" method="post" action="<?php print
$_SERVER['PHP_SELF']; ?>">

micha

vishal
Guest
 
Posts: n/a
#3: Jul 17 '05

re: how to create a form which submits data to itself????


thxs micha

Michael Selent
Guest
 
Posts: n/a
#4: Jul 17 '05

re: how to create a form which submits data to itself????


Am Die, 29 Mär 2005 um 06:05 GMT hat vishal geschrieben:[color=blue]
> how can i create a form which is when submitted calls itself
>
> i mean what to write in action property of form element[/color]

<form name="foo" action="<?php $php_self ?>" method="post">
[form data]

Alternatively you could type in the file name of your document, but then
you would have to change it once you rename your file.

--
(^^\/\/^^)
~~~@@~~~ PGP key available
(..)
Closed Thread