pop up webpage

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lipun4u
Forum Commoner
Posts: 82
Joined: Wed Jul 01, 2009 3:35 am
Location: Mumbai
Contact:

pop up webpage

Post by lipun4u »

How to develop code that will pop up an web page when a button is clicked ???
User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

Re: pop up webpage

Post by Jade »

That's javascript, not php.

Code: Select all

 
<input type=submit name=submit value="click me" onClick="javascript&#058; window.open('http://google.com');">
 
lipun4u
Forum Commoner
Posts: 82
Joined: Wed Jul 01, 2009 3:35 am
Location: Mumbai
Contact:

Re: pop up webpage

Post by lipun4u »

thanx
Post Reply