codice:
<?php 
require('conf.inc.php'); 

// QUERY
$qr = &mysql_query( "SELECT * FROM {$table}" ) or die( '&error='.mysql_error() ); 

// NUMERO PER ORDINARE
$a = 0;

// DICHIARAZIONE VARIABILE OUTPUT
$output = '';

// CICLO IL RISULTATO
while( $row = &mysql_fetch_assoc( $qr ) ) {
	$output .= '&nome'.$a.'='.$row['nome'].'
'; 
	$output .= '&cognome'.$a.'=' .$row['cognome'].'
';
	$output .= '&email'.$a.'=' .$row['email'].'
';
	$output .= '&country'.$a.'=' .$row['country'].'
';
	$output .= '&college'.$a.'=' .$row['college1'].'
';
	$output .= '&password'.$a.'=' .$row['password'].'
';
	$a++;
}
echo $output;
?>





AS2.0

var query:LoadVars = new LoadVars();
query.onLoad = function( s:Boolean ):Void {
	if( s != false && this["error"] == undefined ) {
		var a:Number = 0;
		while( this["nome"+a] != undefined ) {
			trace( this["nome"+a] );
			trace( this["cognome"+a] );
			trace( this["email"+a] );
			trace( this["country"+a] );
			trace( this["college"+a] );
			trace( this["password"+a] );
			a++;
		}
	}
	else if( this["error"] != undefined ) {
		trace( this["error"] );
	}
	else {
		trace( "Errore in caricamento file." );
	}
}
query.load( "host/file.php" );