Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

MySQL question

Discussion in 'Database Discussion' started by dmitryp8, Oct 26, 2015.

  1. dmitryp8

    dmitryp8 Registered

    Joined:
    Oct 26, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    winter park
    cPanel Access Level:
    Website Owner
    I use $wpdb Object to talk to the database and handle some of the functions in the fomr on this page. - Removed -

    It's the blue form on the right

    I'm calling wpdb() class

    When I use $wpdb->update I can't get any data to populate in my database.
    Connection seems to be fine

    this is where it's having problems

    <?php $wpdb->insert( $leads_table, $data, $format ); ?>

    Let me know if anyone is having similar issues

    Thanks
    Dmitry
     
    #1 dmitryp8, Oct 26, 2015
    Last edited by a moderator: Oct 26, 2015
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,167
    Likes Received:
    370
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    This sounds more like a question for over at wordpress.org
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice