Jeg har prøvet med følgende men der sker intet,
kan du se hvad fejlen er?
$myconn = @mysqli_connect('localhost','root','root','wt_test_db') or die('databasefejl');
$res = mysqli_query($myconn, "SELECT id,Timeofficial_calc_net FROM wt_000305 ORDER BY Timeofficial_calc_net ASC");
$v="";
$s="";
$i=0;
while($row=mysqli_fetch_array($res)){
$i++;
$v.=$s."(".$row['id'].",".$i.")";
$s=",";
}
mysqli_query($myconn, "INSERT INTO wt_000305(id,Placement_overall_net) VALUES".$v." ON DUPLICATE KEY UPDATE place=VALUES(Placement_overall_net)");