Use var_dump() and see exactly what your variable is.
You can be certain it is really an array; the parser is good about such
warnings.
Fix the source of the variable given to parse_str.
Julian Muscat Doublesin wrote:
Hello* *Everyone,
I am geetting the error below. Can you please guide me o
> "Jose" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> I might be wrong here, but with the code below I would expect $_GET to be
> filled and the script to output the next line:
>
>$example_string = 'action=kick&item=me';
>parse_str($example_string);
>var_dump($_G
I think you mean:
$example_string = '?action=kick&item=me';
"Jose" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I might be wrong here, but with the code below I would expect $_GET to be
filled and the script to output the next line:
// expected output:
//
// array(2) { ["acti
3 matches
Mail list logo