Try this:
extract($_POST);
extract -- Import variables into the current symbol table from an array
All of my forms have worked without $_POST or $_GET. Is there a reason for
inavailability of variables???
Its a good practice to use $_POST for security reasons.
Vishal.
-Original Message--
Ciemny, Jessica wrote:
Hey every, I'm new to the group and to PHP (3 days now) and I would like to
ask a question. I purchased a book on PHP a day or so ago and as I'm going
through the book it comes to a point where it talks about passing html form
values to PHP. So I type up the examples from the
[snip]
Anyone have any ideas as to what's up. I hope its just something silly
that
I'm missing being a newby to PHP and all.
[/snip]
There is a feature in the php.ini called register_globals. If you look
in your php.ini you will see that it is off by default and some of the
books may have missed t
3 matches
Mail list logo