Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. How to access text data from parent form to child form Using $_SERVER['PHP_SELF']

How to access text data from parent form to child form Using $_SERVER['PHP_SELF']

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
questionphpdatabasetutorial
2 Posts 2 Posters 5 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 13659767
    wrote on last edited by
    #1

    With ?php echo $editFormAction/ $_SERVER['PHP_SELF'] as form action, how can I access the data entered in a form textbox but not submitted into db from another pop up window

    U 1 Reply Last reply
    0
    • U User 13659767

      With ?php echo $editFormAction/ $_SERVER['PHP_SELF'] as form action, how can I access the data entered in a form textbox but not submitted into db from another pop up window

      U Offline
      U Offline
      User 13901332
      wrote on last edited by
      #2

      Let us assume that we have the following form.

      ";
      /* Lets say field2 value is "Doe" */

      ?>

      and you wish to use the values from signUpForm1 in signUpForm2. much like below

      While I admit there may be some syntax errors with double and/single quotes, it should basically demonstrate the basic idea. Just a note, if you use method="GET" then use

      $_GET['field1']

      or

      $_GET['field2']

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups