WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Using mysql? (4 posts)

  1. chiconerd
    Member
    Posted 5 years ago #

    Hi, i am new to word press and ill like to ask some questions.
    so far everything work out great.
    wordpress has been so impressive that i have done most of my work using wordpress now.
    but i want to take it a little farther but i don't know if is possible.
    i want to use MYSQL to generate dynamic things.

    my question is, should i do a include file of a mysql connection or does wordpress has a way of calling mysql?

    any advice on mysql and wordpress..

    anything will help thank you and excuse my English.

  2. chiconerd
    Member
    Posted 5 years ago #

    hey i found out about WPDB but is not working for some reason, how do i configure it?
    when i try to call a function it tells me the fatal error.. i try to look around and found that wpdb had no db set up but i read in here that is sync with the whole blog whats going on?

  3. chiconerd
    Member
    Posted 5 years ago #

    wow can a guy get some help here?

    i narrow down the problem to WPDB not being loaded into the new pages i made, the only way it will work is if i call a new class and specify the database ect.. things that shouldn't be on pages becuase of security risk.. any help? any one? anything? come on people..

  4. Brendon Boshell
    Member
    Posted 5 years ago #

    What page is it on? Something external to WordPress?

    Post some code and you're likely to get some more assistance. And "it tells me the fatal error" isn't really helpful; what did the fatal error say?

    -Brendon.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.