Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 4th Aug 2012, 05:28 PM   #1
HyperActive Warrior
War Room Member
 
Join Date: 2009
Location: North East - UK
Posts: 248
Thanks: 211
Thanked 45 Times in 35 Posts
Default
Help with large php variable?
Share on: 
fb share twitter share gplus share more share

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.

If what I said helps, let me know, throw me a 'thanks'.
newbim is offline  
Unread 4th Aug 2012, 05:43 PM   #2
HyperActive Warrior
War Room Member
 
Join Date: 2009
Location: North East - UK
Posts: 248
Thanks: 211
Thanked 45 Times in 35 Posts
Default
Re: Help with large php variable?
Share on: 
fb share twitter share gplus share more share

Ignore, think I just COMPLETELY misunderstood something, sorry.

If what I said helps, let me know, throw me a 'thanks'.
newbim is offline  
Unread 4th Aug 2012, 05:47 PM   #3
Advanced Warrior
War Room Member
 
Brandon Tanner's Avatar
 
Join Date: 2006
Location: USA
Posts: 1,907
Thanks: 236
Thanked 1,377 Times in 676 Posts
Default
Re: Help with large php variable?
Share on: 
fb share twitter share gplus share more share

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


Brandon Tanner is offline  
The Following User Says Thank You to Brandon Tanner For This Useful Post:
Closed Thread


Bookmarks

Tags
large, php, variable


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




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