In your printf statement, you are targetting  "sub_detl" whereas in your
frameset you name the frame "sub_dtl".  Naturally, these values should
match.

HTH

Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]

----- Original Message -----
From: "Miles Thompson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 15, 2001 12:41 PM
Subject: [PHP] PHP & FRAMES Question


> This has probably been dealt with before, but I'm unable to get my link to
> open in the target frame, it always opens in the same frame.  This line of
> code:
>
> printf("<a href=\" %s?member_id=%s target=sub_detl \" > %s </a> \n",
> $target_url, $myrow["member_id"], $myrow["member_id"]);
>
> typically expands, when the mouse pointer is placed over it, to:
>
> http://hostname/sitename/adm_sub_dtl.php?member_id=T0003 target=sub_detl
>
> This is the code for the page which creates the framesets ..
>
> <HTML>
> <HEAD>
>          <TITLE>Subscriber Administration</TITLE>
> </HEAD>
>     <FRAMESET rows="70%,30%">
>          <FRAME name="sub_lst" src=adm_sub_lst.php scrolling="auto">
>          <FRAME name="sub_dtl" src=adm_sub_dtl.php scrolling="auto">
>     </FRAMESET>
> </HTML>
>
> I don't see any mysteries here, and it appears syntactically correct.
>
> Any suggestions will be welcome - Miles Thompson
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to