0

Hi.I didnt find wordpress section so I am posting my question here .
i am creating a new "Bookings" custom post type in wordpress . And I already have a table in Mysql database set up where I am filling date from ,date to and the room name . My problem is that I want to have an option from the admin pannel to add new book to edit existing books etc etc. .But i dont know where(where to write php code for this) to start interacting with mysql to display that results in the admin panel .

2
Contributors
1
Reply
5
Views
5 Years
Discussion Span
Last Post by LastMitch
0

Hi.I didnt find wordpress section so I am posting my question here .
i am creating a new "Bookings" custom post type in wordpress . And I already have a table in Mysql database set up where I am filling date from ,date to and the room name . My problem is that I want to have an option from the admin pannel to add new book to edit existing books etc etc. .But i dont know where(where to write php code for this) to start interacting with mysql to display that results in the admin panel.

The correct solution is here:

http://wordpress.org/support/topic/new-wordpress-custom-post-type-interacting-with-database

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.