Re: PHP & FRAMES Question

From: Date: Thu, 15 Nov 2001 17:39:49 +0000
Subject: Re: PHP & FRAMES Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-74752@lists.php.net to get a copy of this message
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 smasiello@synacor.com ----- Original Message ----- From: "Miles Thompson" <milesthompson@ns.sympatico.ca> To: <php-general@lists.php.net> 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#74752) next »