Im sorry maybe its off topic but i want to ask something about using frames with php

i have a frame page like this

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Admin Paneli</title>
</head>

<frameset rows="*" cols="*,632" framespacing="0" frameborder="no" border="0" bordercolor="#FFFFFF">
  <frame src="adminmembers.php" name="mainFrame">
  <frame src="haber.php" name="rightFrame" scrolling="NO" noresize>
</frameset>
<noframes><body>
</body></noframes>
</html>

and as you see this frame has 2 php files which named adminmembers.php and haber.php and i want when i click a link in adminmembers.php(which is main frame)haber.php(which is right frame) to be changed
is something like that possible if it is how?
how should i link it from adminmembers.php?
Thanks?

    technically this isn't php, its html, but as I'm a helpful little onion..

    <a href="gohere.php" target="rightFrame">link in the menu frame</a>

    Just need a target="" in your anchor tag.

      Thanks
      I did something like this

      <a href=\"adminpanel.php?oyun=uo&id=$row[0]\" target=\"rightFrame\">$row[1]</a>
      

      its refreshing the right frame of the page but doesnt send the variables what is the problem?

        Odd. It certainly should be sending the variables. Whats the script on the right hand side doing?

          I am sending the variables to my frame page like this

          adminmembers.php

          <a href=\"adminpanel.php?oyun=uo\" target=\"rightFrame\">Gonder</a>
          

          adminpanel.php is my frame page which has main and right side
          and i want this variable to go haber.php which is my right frame
          so i will send variables from adminmambers.php(which is main frame) to adminpanel.php(frame page which includes adminmembers.php and haber.php) and adminpanel.php will send the variables to its right frame haber.php
          but i couldnt do it?

            Dakkar,
            I have something similar I have the base page open in the left panel. then I click one of the links, that reference itself as the php file and it opens in the right ("main") panel. Its been a while since I did this one and I don't remember if the head information was needed or if it was just something I tried and never removed.

            <head>
            <base target="main">
            </head>

            ...
            ...
            <?
            print "<A HREF=?mode=album&album=" . urlencode($alblist[$i]) . "&dispsize=$dispsize TARGET='main'>";
            ?>

            you can see the results at http://www.krang.org

              Write a Reply...