Page 1 of 1

PHP with HTML Variables

Posted: Thu Aug 07, 2003 12:17 pm
by yonibensimon
I have a form managed with PHP. While I'm in PHP, how do i get access to my HTML variables ?

For example, in the form, users enter their info. When the submit, i control the rest with PHP(in a PHP file). But I need to print their info(they are in the html file)!

How do i do that ?

Posted: Thu Aug 07, 2003 12:48 pm
by m3rajk
you're new to php, aren't you?

try picking up the oreilly book 1565926102

it'll help you quite a bit.

which method are you using?

Posted: Thu Aug 07, 2003 12:50 pm
by patrikG
HTML is not a programming language, the values of a form can be accessed in PHP via $_POST or $_GET. Have a look at the sticky about passing values in the "PHP Normal" forum.