This topic is locked

Using Custom code and opening a new page?

8/6/2008 5:54:14 AM
PHPRunner General questions
S
swanside author

Hello.
In this code

if (@$_REQUEST["editid1"])

echo "<a href=\"Labour_list.php?mastertable=Job&masterkey1=".$_REQUEST["editid1"]."\">Labour</a>";


Where would I put Target_Blank to open the links in a new page please?

I have tried a couple of places, but I get errors.
Cheers
Paul

J
Jane 8/6/2008

Hi,
try to use this code:

if (@$_REQUEST["editid1"])

echo "<a target=_blank href=\"Labour_list.php?mastertable=Job&masterkey1=".$_REQUEST["editid1"]."\">Labour</a>";

S
swanside author 8/6/2008

Thankyou.