Re: [PHP] $pieces = explode(",", $_POST["fieldtype1"]);

2005-11-09 Thread Richard Lynch
On Mon, November 7, 2005 11:00 pm, John Taylor-Johnston wrote: > $pieces = explode(",", $_POST["fieldtype1"]); > > What is a way to echo each pieces[x] separately so I can echo them > like > this: > > while(x=0 to xMax) > { > $sql .= "`".$pieces[x]."` \r\n"; > } foreach ($pieces as $piece){ $sql

Re: [PHP] $pieces = explode(",", $_POST["fieldtype1"]);

2005-11-08 Thread Curt Zirzow
On Tue, Nov 08, 2005 at 12:00:06AM -0500, John Taylor-Johnston wrote: > Hi, > $pieces = explode(",", $_POST["fieldtype1"]); > > What is a way to echo each pieces[x] separately so I can echo them like > this: > > while(x=0 to xMax) > { > $sql .= "`".$pieces[x]."` \r\n"; > } Well, explode() retur