Any body help me i am suffering from converting array to string

Array ( [0] => 10 [1] => 40 [2] => 00 ) Array ( [0] => 10 [1] => 41 [2] => 00 ) 

I want convert to php $var1="10:40:00"; and $var2="10:41:00";

any body help me

Member Avatar for diafol

Implode. Check out the php manual.

commented: Correct answer. +5

k Thanks Sir i got

Member Avatar for diafol

solved?

^ Yeah, you solved it. :)

Then mark this as SOLVED

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.