Jump to content

question


Ninjakreborn

Recommended Posts

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]
Link to comment
https://forums.phpfreaks.com/topic/8526-question/#findComment-31233
Share on other sites

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.