Rianna Posted June 16, 2006 Share Posted June 16, 2006 Hello, I was told I could use the window.open command in the php part of my form to open my thank you and error pages in a new window size. But how?Here is the code that it might need to be something like. "NewWin=window.open('http://www.mypagethatneedsresized.html/','NewWin',width=620,height=390,');"How can I add that to the code that look like this on my php page. I tried several but none of them worked....... Thank you very much! Jenheader('Location: [a href=\"http://www.moonbaby.info/linkexchange/main/exchangethankyou.html');\" target=\"_blank\"]http://www.moonbaby.info/linkexchange/main...you.html');[/a]if (empty($_REQUEST['postit'])) {header('Location: [a href=\"http://www.moonbaby.info/linkexchange/main/exchangeerror.html');}\" target=\"_blank\"]http://www.moonbaby.info/linkexchange/main...or.html');}[/a] Quote Link to comment https://forums.phpfreaks.com/topic/12128-newwinwindowopenhttp-for-php-help-please/ Share on other sites More sharing options...
Rianna Posted June 16, 2006 Author Share Posted June 16, 2006 If this doesn't work, any way to make an onclick to a new page size work with a form action? Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/12128-newwinwindowopenhttp-for-php-help-please/#findComment-46197 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.