And how can I do, that this selected option will select from the database (products) the appropriate one's, and show the results? Dreamweaver MX. Sorry, but I appreciate your help. Thanks, ildiko
----- Original Message ----- From: "Cristian MARIN" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 20, 2003 8:24 PM Subject: [PHP-WIN] Re: Parse error what's this, what to do? > It's very wrong your code: > I don't know what should do but it should look like this: > > <td align="right" class="TDinfo"> search by</td> > <td class="TDinfo"> > <?php require("file_name_here.php"); ?> > <select name="select3" class="SELECTSize"> > <option selected>new</option> > <option>used</option> > </select></td> > > You have mixed the php with the HTML in a very wrong way. You cannot require > a html code, you have to require a file. Please the PHP manual first. > > ------------------------------------------------- > Cristian MARIN - Developer > InterAKT Online (www.interakt.ro) > Tel: +4021 312.53.12 > Tel/Fax: +4021 312.51.91 > [EMAIL PROTECTED] > > > "Ildiko Nyari" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > 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 > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php