Murugan.com
Murugan Andezuthu Dharmaratnam

  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  PHP   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  



SQL Connection in Wordpress


Home  > php  > SQL Connection in Wordpress 
       
This is where u can find the connection string or database details of your wordpress

Details of database are stored in the wp-config.php which is located in the root directory of wordpress. 
/** MySQL database username */
define('DB_USER', '****');
/** MySQL database password */
define('DB_PASSWORD', '****');
/** MySQL hostname */
define('DB_HOST', 'localhost:/tmp/mysql.sock');
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
index

Wordpress Database File

SQL Connection in Wordpress

php display or dump array

php stdClass

Wordpress SQL Query to Get All Images Data Under Media Library

php wordpress populate all images from image libary to a drop down

php retrive value from get method in php after submit

update a table in wordpress



  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  PHP   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  

Copyright 2009 @ Murugan Andezuthu Dharmaratnam