shadiadiph Posted March 24, 2009 Share Posted March 24, 2009 My problem probably sounds strange. I have a login form which actuallly calls another checkuser on submit which i had opening by using target="_new". but the users details still stay in the input fields fo the form on the first page I want to change that to action="$php_self" so it submits and clears the form then post the username and passord in the head but then make it openĀ a new window but using header("location: you can't use target="_new" any ideas on ow to get around this or is there a way to clear the form on submit? Link to comment https://forums.phpfreaks.com/topic/150794-how-can-i-open-a-new-window-in-php/ Share on other sites More sharing options...
trq Posted March 24, 2009 Share Posted March 24, 2009 php runs on the server and has absolutely no concept of a window, your question is that of a client-side issue. Try the javascript board. Link to comment https://forums.phpfreaks.com/topic/150794-how-can-i-open-a-new-window-in-php/#findComment-792223 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.