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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Max Graham" <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> > To: "Ildiko Nyari" <[EMAIL PROTECTED]> > 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" <[EMAIL PROTECTED]> > > Newsgroups: php.windows > > To: <[EMAIL PROTECTED]> > > 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 > > > > > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php