the php process the page once the vistor clicks on the php based link they go to iframe where it is html.
I was looking for a function where I can insert a link call go back to the link and that sould be in html on the frames

Recommended Answers

All 5 Replies

Member Avatar for diafol

Could you explain that? I don't follow you.

//echo "<a href=\"$google_pers\"target='blank'>xxxx</a>";


when clicked can it call to open a local file ie rightframe.html
instead of a new blank page

tst.php and rightframe.html are in the same location

I am using very simple html frames. again this is a call when clicked the result or query has to open on rightframe.html

I think I understand
the target attribute of a link should do it
consider a frameset with left and right panes
the left pane includes the menu
the right frame is the display page

index html

dtd
<html>
<head>
<frameset cols='200px,8' >
<frame src='menu.html'  name='menu'>
<frame src='display.html'  name='display'>
</framest>

menu.html

dtd
<html>
<head>
bla bla
</head>
<body>
<a href='choice1.html' target='display'>page1</a><br>
<a href='choice2.html' target='display'>page2</a><br>
<a href='choice3.html' target='display'>page3</a><br>
</body>
</html>

display.html

menu.html[code=html]dtd
<html>
<head>
bla bla
</head>
<body><center>select from left
</center>
</body>
</html>

the index page is in .php
and now it has to open in rightframe.html

do we have any code to pass on to the rightframe

all the hyperlinks are in the php page itself
want to call a right frame which is in html

Not using mysql database

almostbob,
That worked
really you are a life saver man
Thumsup to you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.