Re: [PHP] String to Array or Hash Table

2003-10-19 Thread Duncan Hill
sun zheng said: >>tx for the reply.. ya, it is what i am looking for.. however, your solution >>is not the right one.. please help me to adjust it a lot.. >> >>let us come back to the initial string .. >>"approved=yes&error=&authnumber=025968&transactionnumber=313869"; > >>I definately want to get

Re: [PHP] String to Array or Hash Table

2003-10-19 Thread sun zheng
tx for the reply.. ya, it is what i am looking for.. however, your solution is not the right one.. please help me to adjust it a lot.. let us come back to the initial string .. "approved=yes&error=&authnumber=025968&transactionnumber=313869"; I definately want to get something like $value_array['a

Re: [PHP] String to Array or Hash Table

2003-10-19 Thread Duncan
sun zheng said: > tx for the reply.. ya, it is what i am looking for.. however, your solution > is not the right one.. please help me to adjust it a lot.. > > let us come back to the initial string .. > "approved=yes&error=&authnumber=025968&transactionnumber=313869"; > I definately want to get so

Re: [PHP] String to Array or Hash Table

2003-10-19 Thread sun zheng
tx for the reply.. ya, it is what i am looking for.. however, your solution is not the right one.. please help me to adjust it a lot.. let us come back to the initial string .. "approved=yes&error=&authnumber=025968&transactionnumber=313869"; after the statement "for (@reset($value_array); lis

Re: [PHP] String to Array or Hash Table

2003-10-19 Thread David T-G
Zheng -- ...and then sun zheng said... % % Hi, all, Hi! % ... % I explode it first by "&". % $execoutput = % "approved=yes&error=&authnumber=025968&transactionnumber=313869"; % $execoutput_array = explode("&", $execoutput); I don't see any problem with this. % % I secondly explode ever