Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Help with large php variable? (https://www.warriorforum.com/programming/649008-help-large-php-variable.html)

newbim 4th August 2012 05:28 PM

Help with large php variable?
 
Hi, I'm working on a site for a project, and it involves a form with a field to describe something.

For example, a job board. When the user $_POSTs the job description (which is likely to exceed the 100 characters allowed by $_GET), how do I retrieve it on the handling page?

Any help or advice would be greatly appreciated.

Thanks,

Andy.

newbim 4th August 2012 05:43 PM

Re: Help with large php variable?
 
Ignore, think I just COMPLETELY misunderstood something, sorry.

Brandon Tanner 4th August 2012 05:47 PM

Re: Help with large php variable?
 
Quote:

Originally Posted by newbim (Post 6735523)
Hi, I'm working on a site for a project, and it involves a form with a field to describe something.

For example, a job board. When the user the job description (which is likely to exceed the 100 characters allowed by Array), how do I retrieve it on the handling page?

Any help or advice would be greatly appreciated.

Thanks,

Andy.

$post_value = $_POST["input_name"];

Just replace input_name with the name of the form input from the sending page. For example, if one of the inputs on the sending page was named "job_description", then you could do something like this on the form "action" page...

$job_description = $_POST["job_description"];


All times are GMT -6. The time now is 05:51 PM.