Forums

Script loses database connection in middle of updating if Javascript is enabled (1 post)

  1. Smuliii
    Member
    Posted 10 months ago #

    So I have custom rating script which uses PHP, MySQL and jQuery and it's working without any issues, but now when I’m trying to implement it to WordPress theme there is one little problem; It doesn’t work when Javascript is enabled! It catches all data but it can’t insert it anywhere because it somehow loses database connection in middle of updating.

    But when JS is disabled it works like a dream. Any ideas?

    And here are the sources:

    PHP: http://pastebin.com/ZQMpmvFx
    JS: http://pastebin.com/EEGYRmAF

Reply

You must log in to post.

About this Topic

Tags