ที่คิดไว้จะตั้ง order_number ในตอนเริ่มต้นมีค่าเท่ากับ id ครับแต่ละแถวจะได้มีค่า order_number ไม่ซ้ำกัน
mysql_query("INSERT INTO tb(id,title,url) VALUES(NULL,'example','example.com')");
$id = mysql_insert_id();
mysql_query("UPDATE tb SET order_number='$id' WHERE id='$id' ");