Implode and Explode in PHP

We can store multiple value in single variable in two ways.
Either using Array, or comma separated values.

Comma separated: 
$name = 'Alex,Ana,BOB';
Array:  
$name =  array(
    [0] => 'BOB',
    [1] => 'Alex',
    [2] =>  'Ana'
);

To convert array to comma separated value and reverse
we required two function

implode : 
Syntax:  string implode ( string $glue , array $pieces )

$array = array(
    [0] => 'lastname',
    [1] => 'email',
    [2] => 'phone'
);
$comma_separated = implode(",", $array);

result :   will be "lastname,email,phone".
explode : 
Syntax:  array explode (string $delimiter,string $comma_string)

$input2 = "hello,there";
$result = var_dump( explode( ',', $input2 ) );

result : array( 
    [0] => 'hello',
    [1] => 'there'
);

Thanks ……!

Free script to automatically generate traffic through traffup

AttentionUpdate 6 June, 2013
Sorry folks! Traffup recently updated its surfing mechanism, so this script wont work anymore.

I’ve already asked google to remove this page from search listings. My apologies if you still came here via google, and are frustrated reading this notice.

This little bookmarklet script earns points for you on traffup.net which in turn sends traffic to your website!

For those of you who don’t know what traffup is, its a website (traffup.net) which provides traffic exchange, twitter follower exchange. You register on the website, you visit other websites and others visit your website, you follow others on twitter and others follow you.
You earn points by either visiting a website or by following someone on twitter. The more points you have, more visitors/followers you get.

In order to gain points, you need to manually visit websites. Ah! that’s boring and unproductive. So i have developed this little script which keeps on visiting websites for you and earning you points !!

See it in action in the video below

To be honest, as far as i know, hits like these, with 100% drop-offs of course, dont help much with your websites reputation, but it definitely helps boost your alexa ranking.

I’ll send the script(bookmarklet) to those who are interested. Just drop your email id in the comment or via the contact form. Will definitely send you the script.
Cheers!