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 on a fix. It is working on the live site but not on local server. Has anyone ever experinced this error before. * Warning*: parse_str() expects parameter 1 to be string, array given**
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php