Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2013
    Thanked 0 Times in 0 Posts

    How to excute MySQL command with so much record


    I have more than 10.000 record, and when i insert into database by INSERT INTO Command, the server is 405 bad request.
    Please show me how to insert database with auto refresh page every 100 record. Thank so much!
    I'm from Viet Nam, and so sory for my bad English .
    Thank again!

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Saskatoon, Saskatchewan
    Thanked 2,660 Times in 2,629 Posts
    Are you sending this through a form? You shouldn't have HTTP status errors between PHP and mysql as there is no webserver between them. So the problem is getting to the webserver in the first place (ie: not a PHP problem). Make sure you're using method of POST and not post.
    If it persists, than you can post some code.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts