When i try to insert table i was get unique id but there is no records in my database. I cant understand what is the problem i am not getting any error. My code was working but stop automatically maybe something is wrong in my phpmyadmin please tell me how to find main problem or how to fix this issue and that happen with only one table other table working fine. I was try to repair table : not work
i can see my auto increment id is stuck on 42470 cant add new row please help..
$sql = mysqli_query($mysqli,"INSERT INTO yt_view (id,uid,url,current,total,timelimit,point) VALUES ('','$reg->id','$url','0','$reg->views','$reg->timelimit','$reg->point')") or dir(mysqli_error($mysqli)); mysqli_insert_id($mysqli); //Generated success but no record in db