View Full Version : PHP: Possible to have it open Firefox Window TABS?

05-15-2008, 03:44 AM
Is there a way to program php to execute a "load new window TAB" and open a specific URL in that window while not leaving the window you're currently in?

Basically I have a php script that execute MYSQL inquiries to load information on a page. While it jumps to each row to get the information i'd like for it to open a new windows TAB (Firefox) but still be in the first window as it continues to cycle thru the rows.

Any examples? thanks very much!

05-15-2008, 04:31 AM
Wait, you can write your own command line program that may be able to do this for you, but I don't think thats the idea you're having. From a website itself, you cannot do this with php. Since PHP is preprocessed by the server before sent to the browser, all you are doing is sending data to the client. The only way to open a link in a new window is to specify a target for a link - forcing the HTML code to do it for you. It would be up to the browser whether its supposed to open a new page, or a new tab.