Welcome visitor
* Login
* Register
It is currently March 24th, 2019, 12:58 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Server Side » PHP



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  $_Post is not working
PostPosted: May 12th, 2009, 8:57 pm 

Posts: 65
Hi, everything is fine except for the $_Post variables. I tried two methods and none is working:
echo $_Post['name'];
//with its variation
echo $_Post[name];
//also
extract $_Post;
echo $name;

Any suggestions? Thank you.


Top
 Profile  
 
  Re: $_Post is not working
PostPosted: May 12th, 2009, 9:07 pm 
User avatar

Posts: 136
extract is a function which process a variable, the correct syntax would then be:
extract ($_POST);

see that i typed POST all in capitals? that was the main problem on your code.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Server Side » PHP


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron