Re: one basic of frames
| From: | Richard Lynch | Date: | Fri, 24 Nov 2000 19:15:57 +0000 |
| Subject: | Re: one basic of frames | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27006@lists.php.net to get a copy of this message | ||
> > <?
> > echo "
> > <html><head><title>Prueba</title>
> > <frameset rows='60,430*' frameborder='no' border=0
> > cols='*'>
> > <frameset cols='250,*' frameborder='no' border=0>
> > <frame src='prueba1.php3' name='prueba1' id='prueba1'
scrolling='No'>
> > <frame src='prueba2.php3' name='prueba2' id='prueba2'
scrolling='No'>
> > </frameset>
> > <frameset rows='100%' cols='120,*' name='imp'>
> > <frame src='menu.php3' name='menu' id='menu'
> > scrolling='No'>
> > <frame src='index.php3' name='main' id='main'
> > scrolling='Auto'>
> > </frameset>
> > </frameset>
> > <noframes></noframes>
> > </html>
> > ";
> > ?>
> >
> >
> How do I select something from "menu" and display the result in "main" ??
---- menu.php3----
<A HREF=newpage.php3 TARGET='main'>
Also, using echo to spew out all that HTML is pretty silly... Just make it
all HTML, no PHP, no echo.