Stut skrev:
sivasakthi wrote:
Thanks for your response..
Actually i have the collections of strings like,
$not_quite_an_array =
'squid %tu %tl %mt %>A
test %st.%hs %>a %
$names = array();
foreach (explode("\n", $not_quite_an_array) as $line)
{
$line = trim($line);
if (strlen($line) ==
sivasakthi wrote:
Thanks for your response..
Actually i have the collections of strings like,
$not_quite_an_array =
'squid %tu %tl %mt %>A
test %st.%hs %>a %
$names = array();
foreach (explode("\n", $not_quite_an_array) as $line)
{
$line = trim($line);
if (strlen($line) == 0) continue;
Thanks for your response..
Actually i have the collections of strings like,
$not_quite_an_array =
'squid %tu %tl %mt %>A
test %st.%hs %>a % sivasakthi wrote:
> > Hi Guys,
> >
> > I have the array like below,
> >
> > squid %tu %tl %mt %>A
> > test %st.%hs %>a % > test1 %tv %tr %Hs.%Ss %mt
> > ..
sivasakthi wrote:
Hi Guys,
I have the array like below,
squid %tu %tl %mt %>A
test %st.%hs %>a %squid,test,test1 in to another array..
could you help me to find the solution?
Thanks,
Siva
What does your array look like _exactly_? ie. var_dump style output.
Is it:
array(
array('s
4 matches
Mail list logo