I cannot seem to figure out how to do this or find it anywhere.
I need to open a link in a NEW browser window.
In HTML, you do it with:
a href=". . . " target="_BLANK"
In JavaScript, you do it with:
window.open(". . . ");
How do you do this in PHP?
I tried:
header('Window-target: NEW');
header('Location: http://. . . ');
But I got a "Headers already sent" error in the main document.
ACK! Help please!
-Bob
I need to open a link in a NEW browser window.
In HTML, you do it with:
a href=". . . " target="_BLANK"
In JavaScript, you do it with:
window.open(". . . ");
How do you do this in PHP?
I tried:
header('Window-target: NEW');
header('Location: http://. . . ');
But I got a "Headers already sent" error in the main document.
ACK! Help please!
-Bob