Jump to content

[SOLVED] Quick question; PHP $_POST convert function


fatralph

Recommended Posts

Quick question...

 

What is the function that will convert the $_POST from a form into individual variables?  I know I've used it before, but for the life of me I can't remember what it is!

 

Instead of:

$wumpus = $_POST['wumpus'];

$fun = $_POST['fun'];

 

This:

function($_POST);

 

Giving $wumpus and $fun their respective values.

 

Thanks so much.  I appreciate any help I can get.  This is driving me CRAZY!!

Ken,

 

Thanks so much.  It really has been driving me bonkers.

 

I don't know why, but I prefer to look at variable names instead of the array references when I code.  I'm a designer, not a programmer maybe this is why :P  (Or maybe I'm just lazy)

 

Thanks again, I really appreciate the help!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.