You have some problem with your ordering of codes.
//No input errors, run query
$query = "INSERT INTO assets (`asset_id`, `location`, `active`, `platform`, `make`, `model`, `Ram`, `warranty`, `active_user`, `notes`)
VALUES ('$asset_id','$location','$active','$platform','$make', '$model','$Ram','$warranty','$active_user', '$notes')";
if (!$result)
{
die('Invalid query: ' . mysql_error());
}
$result = mysql_query($query);
This would be the correct order. Execute the query first before checking if it is successful or not. Are you not getting some php errors from your code?
//No input errors, run query
$query = "INSERT INTO assets (`asset_id`, `location`, `active`, `platform`, `make`, `model`, `Ram`, `warranty`, `active_user`, `notes`)
VALUES ('$asset_id','$location','$active','$platform','$make', '$model','$Ram','$warranty','$active_user', '$notes')";
$result = mysql_query($query);
if (!$result)
{
die('Invalid query: ' . mysql_error());
}