Re: Parse error what's this, what to do?

From: Date: Sat, 21 Jun 2003 01:14:45 +0000
Subject: Re: Parse error what's this, what to do?
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-20476@lists.php.net to get a copy of this message
This might require two separate files. In the first, you'd have to set up a form in the first file, advanced3.php: ------------------------------- <form action="processform.php" method="post"> <select name="select3" class="SELECTSize"> <option value="new" selected>new</option> <option value="old">old</option> </select> </form> ------------------------------- and then in the second, the processform.php file, you'd have this line: ------------------------------- require $select3; ------------------------------- or however you'd want it. I'm guessing that this is what you're trying to do, to use a form to tell a script what components are required ... am I correct in guessing that? ----- Original Message ----- From: "Ildiko Nyari" <ildiko.nyari@earthlink.net> To: <php-windows@lists.php.net> Cc: "Max Graham" <czero@lonebraincell.com> Sent: Friday, June 20, 2003 8:12 AM Subject: Re: Parse error what's this, what to do? > Hello, Thank you > line129: <td class="TDinfo"><?php require(<select > name="select3" > class="SELECTSize"> > > But the whole stuff look-a-like this: > > <td align="right" class="TDinfo"> search by</td> > <td class="TDinfo"><?php require(<select name="select3" class="SELECTSize"> > <option selected>new</option> > <option>used</option> > </select>); ?></td> > > What I want is the option selected should be an input for the search, that's > what I try to figure out in Dreamweaver MX > > > THANKS, > ildiko > > > ----- Original Message ----- > From: "Max Graham" <czero@lonebraincell.com> > To: "Ildiko Nyari" <ildiko.nyari@earthlink.net> > Sent: Thursday, June 19, 2003 11:34 PM > Subject: Re: Parse error what's this, what to do? > > > > What does your code look like? Can you show us what line 129 looks like in > > advanced3.php? > > > > > > ----- Original Message ----- > > From: "Ildiko Nyari" <ildiko.nyari@earthlink.net> > > Newsgroups: php.windows > > To: <php-windows@lists.php.net> > > Sent: Thursday, June 19, 2003 6:43 PM > > Subject: Parse error what's this, what to do? > > > > > > Hello > > Parse error: parse error, unexpected '<' in C:\Program Files\Apache > > Group\Apache2\htdocs\advanced3.php on line 129 > > > > what's this? > > I always get this error when I want to display the php files on the web, > so > > can't. > > What do I do wrong? > > > > thanks, > > ildiko > > > > > > >

« previous php.windows (#20476) next »