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

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

    #1

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

    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

    #2
    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

    Comment

    • vishal

      #3
      Re: how to create a form which submits data to itself????

      thxs micha

      Comment

      • Michael Selent

        #4
        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
        (..)

        Comment

        Working...