Hi,
This is part of my code
$query1 = "INSERT INTO aacl_match (`id`, `team`, `ladder`, `time`, `date`, `map`) VALUES ('', '$teamnamme', '$ladderd', '$randomtime', '$randomdate', '$randommap')";
$result1 = mysql_query ($query1) or trigger_error("Query: $query1\n<br />MySQL Error: " . mysql_error());
$dbid = (mysql_insert_id());
if(isset($_POST['finishchallenge2'])){
echo "$dbid";
}
Because I echoed after the isset it does not work if I put it before it does why wont it work when its after
Thanks