Log in

View Full Version : Resolved Open Link in frame



Feckie
04-13-2009, 04:29 PM
Hi

How I am working in a frame and i want the link below to open in frame "main".
Can anyone help please ...


echo "<a href=http://somewhere.com/{$row['View']}>View</a>";

Snookerman
04-13-2009, 04:44 PM
Use the target attribute:

echo "<a target='main' href=http://somewhere.com/{$row['View']}>View</a>";

Good luck!

Feckie
04-13-2009, 04:51 PM
Use the target attribute:

echo "<a target='main' href=http://somewhere.com/{$row['View']}>View</a>";

Good luck!

Many Thanks that perfect ;)

Snookerman
04-13-2009, 04:59 PM
You're welcome, glad to help!
You can go to your first post in this thread, click http://www.dynamicdrive.com/forums/images/buttons/edit.gif then click Go Advanced and add the Resolved prefix to the thread title.
This will let other users know the problem has been solved.

Good luck with your site!