Javascript: open new window with window.open()

advertisement

What is window.open() in javascript?
window.open() is the javascript function tat use to open new window. Many advertiser use use this javascript window.open() function to pop up or open new window (or even pop under) for their advertisement.

How to use window.open() function?
To open a new window in javascript, simply follow the script below:-

window.open (“http://www.sillycorner.com”,”windowName”);

Below is the javascript window.open function details:-

window.open (url,windowname,attributes);

Continue reading Javascript: open new window with window.open() »

How to Remove invalid entries in Add/Remove Programs in Window XP

advertisement

Sometimes when you uninstall a program in win xp, you may encounter that removed program still exists in the Add / Remove Program lis. If this happen, you have to manually uninstall the invalid program entry in the Add/Remove. To remove the invalid program in Add/Remove program just follow the steps below:-
Continue reading How to Remove invalid entries in Add/Remove Programs in Window XP »

How to backup MySQL Database in command line with compression

advertisement

For those who looking for way to backup mysql database,
you can use mysqldump to backup mysql database.

Below is the script example to backup mysql database in command line:-

$ mysqldump -h localhost -u username -p database_name > backup_db.sql

If your mysql database is very big, you might want to compress your sql file.
Just use the mysql backup command below and pipe the output to gzip,
then you will get the output as gzip file.
Continue reading How to backup MySQL Database in command line with compression »