Connection of mysql DB with wordpress

1.Wordpress is written in PHP and it’s very dynamic. 2.If you use wordpress, you don’t need to worry about a database.Wordpress core files will handle that.The database connection infomtion is located in wp-config.php. 3.It really don’t require coding when you use worpdress ,there are plenty of handy themes and plugins out there.

get_user_meta and umeta_id

You can fix this in 1 of 2 ways: change the call to add_user_meta() to update_user_meta() when your 1st conditional evals to true. As explained in update_user_meta(), “If the meta field for the user does not exist, it will be added.” pass true as the $unique (4th) param to add_user_meta(). As explained in add_user_meta(), the … Read more