Help with large php variable?

by newbim
2 replies
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.
#large #php #variable
  • Profile picture of the author newbim
    Ignore, think I just COMPLETELY misunderstood something, sorry.
    Signature
    If what I said helps, let me know, throw me a 'thanks'.
    {{ DiscussionBoard.errors[6735559].message }}
  • Profile picture of the author Brandon Tanner
    Originally Posted by newbim View Post

    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"];
    Signature

    {{ DiscussionBoard.errors[6735569].message }}

Trending Topics