You can't do that. PHP will take only the last data if you pass a simple argument. However, you can pass a array through your URL by using this syntax:
?data[]=1&data[]=2&data[]=3
php:
var_dump($_GET['data']);
Edit
Well, you didn't like my first answer as I can see by this downvote... So to redeem my credibility, I propose you this solution, by parsing directly the query string:
<?php
$qstring = $_SERVER['QUERY_STRING']; // "data=1&data=2&data=3" here
$args = explode('&', $qstring);
$data = array();
for ($i = 0; $i < count($args); $i++) {
$param = explode('=', $args[$i]);
// If the key hasn't been seen yet, add a new array to data collection
if(empty($data[$param[0]]))
$data[$param[0]] = array();
// If there's a value given (we can have case like "data=1&test" for example)
if(!empty($param[1]))
$data[$param[0]][] = $param[1];
}
print_r($data);
/*
Array
(
[data] => Array
(
[0] => 1
[1] => 2
[2] => 3
)
)
*/
Then you can do:
<?php echo $data['data'][0].' '.$data['data'][1].' '.$data['data'][2]; ?>
Hope I help you this time.