View Single Post
  #5 (permalink)  
Old December 13th, 2004, 01:29 PM
Snib Snib is offline
Friend of Wrox
 
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

A VERY easy way to do this is to use parse_str() like this:

Code:
//assuming $input already has the data

$input = str_replace("\n","&",$input);

parse_str($input);
hth,

-Snib - http://www.snibworks.com
Where will you be in 100 years?
Reply With Quote