Why would you do that? why would you create table with random name?
by the way, change your sql like below:
$sql="CREATE TABLE `".$temp_table."`(FirstName VARCHAR(30),LastName VARCHAR(30),Age INT)";
and correct your mysql_query function like this:
mysql_query($sql,$con);