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

From: Date: Sat, 21 Jun 2003 00:24:24 +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-20449@lists.php.net to get a copy of this message
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 cristic@interakt.ro "Ildiko Nyari" <ildiko.nyari@earthlink.net> wrote in message news:003301c33735$f8dc5710$e7d0ff0a@Ildiko... > 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 (#20449) next »