|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
Open a new window on a redirect
I suspect there is a simple answer to this, but I haven't found it yet.
I have an old site that uses a simple search to locate information from a mySQL database table. The search form asks for two pieces of information. A category and an ID value. The old code returned a results page with the details of the item based on a match with the category and ID value. Now the client wants the results page to open in a new window. I original code used a redirect page that had code like this: I know that location won't accept target='_blank' or any other target designation to open the page in a new window. Is there a work around for this? |
|
#2
|
|||
|
|||
|
RE: Open a new window on a redirect
I think (I'm not sure) that pure PHP can't help you here. Insted of using header redirection use standard redirection... META Refresh (HTML) or window.open (JS).
Don't redirect from PHP, just echo page that will do that. Sorry for poor english |
|
#3
|
|||
|
|||
|
Message Moved
Thread moved from 'PHP Coding' to 'Client Side Things' by kendo.
Reason: |
|
#4
|
|||
|
|||
|
RE: Open a new window on a redirect
In you "<form>" statement, put 'target="_blank"' .. that will do what you want. When you click on "submit", it will open a new window.
That is what your trying to do, right? |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Open a new window on a redirect |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|