2 Votes Vote

Opening a new page in php on a button press

Posted by topdog 213 days ago Questions| button page press All

I want a new page to be opened when a button is pressed. Here is my code so far:

<input name="newThread" type="button" value="New Discussion" onclick="window.open('Political/Thread/thread_insert.php')"/>

It fails, however, ..I think the path is incorrect, but I dont know why..cause it is the correct directory path...

Originally asked by: Matrix001 on Stack Overflow

Discuss Bury


Who Voted for this Question