Tag: Programming

How to access WordPress Database Away from WordPress Root

WordPress by defauly supports globally announcing $wpdb to access the WordPress. But in case you are away from the WordPress root you’ll need to redefine the database information to access WordPress. Again after accessing the database you may need to redefine the database prefix, which will really eat your time and dynamic ability of your

Read More

Creating awesome jQuery menu for your website or blog

Interactive animations makes your website much user friendly and enjoyable. Previously flash used to be the only means of animated interactive contents. Now with release of AJAX and minimized javascript library, JQuery, we are able to create interactive pages without the need of flash. This time, I am here to present you the jQuery technique

Read More

Background position plugin for jQuery

I am again up with short but new article. That is about jQuery’s plugin, Background position plugin. jQuery is a great library for this type of task but out of the box, it can’t animate background position properly because of the need to animate two values instead of just one (too bad not all browsers

Read More

Basic tutorial to interact between MySQL and PHP

 MySQL database is most popular database used in internet. Today I am going to show you how to create a mySQL database using PHP script. To create a new database, we’ll be using the following syntax here; CREATE DATABASE database_name But, we must use the mysql_query() function to execute the above command. This mysql_query() function is used to

Read More