Ninjakreborn Posted April 27, 2006 Share Posted April 27, 2006 I know a lot more baout php now I have a specific question.I am trying to create my own function to handle arrays coming from form fields. Where I can just call the function and have it print the info, this may or may not work any ideas. Quote Link to comment https://forums.phpfreaks.com/topic/8526-question/ Share on other sites More sharing options...
koencalliauw Posted April 27, 2006 Share Posted April 27, 2006 I have some functions for request variables and arrays, if that is what you mean, but probably not:[code]function p($var){ //returns the POST variable you request return $_POST[$var];}function g($var){ //returns the GET variable you request return $_GET[$var];}function pr($arr){ //print the array in a readable format echo "<pre>"; print_r($arr); echo "</pre>";}[/code] Quote Link to comment https://forums.phpfreaks.com/topic/8526-question/#findComment-31233 Share on other sites More sharing options...
Ninjakreborn Posted April 27, 2006 Author Share Posted April 27, 2006 i'll keep those in mind thanks. Quote Link to comment https://forums.phpfreaks.com/topic/8526-question/#findComment-31460 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.