Re: Re: Parse error what's this, what to do?
| From: | Ildiko Nyari | Date: | Fri, 20 Jun 2003 23:28:05 +0000 |
| Subject: | Re: Re: Parse error what's this, what to do? | ||
| References: | 1 2 3 4 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20475@lists.php.net to get a copy of this message | ||
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" <cristic@iakt.rdsnet.ro>
To: <php-windows@lists.php.net>
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
> 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
> > >
> > >
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>