PHP New Window Problem
Posted: Fri Oct 16, 2009 6:01 am
Hi There, (first Time Poster)
I was hoping somebody could give me some advice on a line of code.
if($row['LinkText'] != '' && $row['LinkUrl'] != '') {$Url[]="<br><br><a href=\"$row[LinkUrl]\">$row[LinkText]</a><br><br>";}else{$Url[]='';}
Basically, I am trying to make the ['LinkUrl'] open in a new window rather than in the same window i have tried various HTML and JAVA techniques but it keeps causing errors in my database.
Not sure if anybody needs anymore of the code, so if you do then please let me know.
I know this is a tricky one, but hoping somebody can help.
Thanks
_______
I was hoping somebody could give me some advice on a line of code.
if($row['LinkText'] != '' && $row['LinkUrl'] != '') {$Url[]="<br><br><a href=\"$row[LinkUrl]\">$row[LinkText]</a><br><br>";}else{$Url[]='';}
Basically, I am trying to make the ['LinkUrl'] open in a new window rather than in the same window i have tried various HTML and JAVA techniques but it keeps causing errors in my database.
Not sure if anybody needs anymore of the code, so if you do then please let me know.
I know this is a tricky one, but hoping somebody can help.
Thanks
_______