php-general | 2001092
Date: 09/26/01
- Next message: * R&zE:: "Re: [PHP] header() confusion"
- Previous message: pierre-yves: "Re: [PHP] header() confusion"
- Next in thread: Derek Mailer: "Re: [PHP] Building Dynamic Value list using ohp"
- Reply: Derek Mailer: "Re: [PHP] Building Dynamic Value list using ohp"
- Reply: Derek Mailer: "Re: [PHP] Building Dynamic Value list using ohp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks Gottfried, but that doesn't change the response I get.
Any more suggestions.
George P in Edinburgh
PS I am hoping to come over to Frankfurt for the conference in November
(boss might pay)
----- Original Message -----
From: <gottfried.hufnagel <email protected>>
To: "George Pitcher" <fmdev <email protected>>
Sent: Wednesday, September 26, 2001 2:46 PM
Subject: Re: [PHP] Building Dynamic Value list using ohp
> hi!
>
> try:
>
> $query = "select HEI from heronuser"; // line 22
>
> greetinx!
> gottfried
>
> > Hi all,
> >
> > I'm having a problem with dynamically building a value list.
> >
> > My code:
> >
> > <?php
> > mysql_connect ('localhost', 'root', 'monty');
> > mysql_select_db ('Heronsql');
> > $query = ("select HEI from heronuser"); // LINE 22 on original script
> > $result = mysql_query($query, $mysql_link);
> > if(mysql_num_rows($result)) {
> > // show all HEIs as options in select form
> > while($row = mysql_fetch_row($result))
> > {
> > print("<option value=\"$row[0]\">$row[0]</option>");
> > }
> > }
> > ?>
> >
> > But this generates:
> >
> > "Parse error: parse error in c:\program files\apache
> > group\apache\htdocs\bizflyers\login.php on line 22"
> >
> > Any suggestions?
> >
> > Regards
> >
> > George
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free <email protected> address at http://mail.yahoo.com
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> > For additional commands, e-mail: php-general-help <email protected>
> > To contact the list administrators, e-mail: php-list-admin <email protected>
> >
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
_________________________________________________________
Do You Yahoo!?
Get your free <email protected> address at http://mail.yahoo.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: * R&zE:: "Re: [PHP] header() confusion"
- Previous message: pierre-yves: "Re: [PHP] header() confusion"
- Next in thread: Derek Mailer: "Re: [PHP] Building Dynamic Value list using ohp"
- Reply: Derek Mailer: "Re: [PHP] Building Dynamic Value list using ohp"
- Reply: Derek Mailer: "Re: [PHP] Building Dynamic Value list using ohp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

