RE: [PHP-GENERAL] Problem with $class->property
| From: | Sean Mathews | Date: | Wed, 21 Jun 2000 14:17:57 +0000 |
| Subject: | RE: [PHP-GENERAL] Problem with $class->property | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2482@lists.php.net to get a copy of this message | ||
Hi David
Thanks for your reply. The problem I think is that -> is being identified
as a "close script" tag by the html browser. The rest of my script just
renders as HTML. The script runs successfully when it is just a .php file
and is interpreted by php directly.
S
-----Original Message-----
From: David Robley [mailto:huntsman@www.nisu.flinders.edu.au]
Sent: Tuesday, June 20, 2000 8:30 PM
To: smathews@dceg.com
Cc: php-general@lists.php.net
Subject: Re: [PHP-GENERAL] Problem with $class->property
On 20 Jun, Sean Mathews wrote:
> Hi All
>
> If this question has been asked already, please take pity on a PHP newbie.
> I have a HTML doc with a table in it, I want to include a PHP script to
> generate the content rows. So
>
>
> .....
> <Table bgcolor="#FF0000>
>
> <?PHP
>
> /*Connect to db etc is fine*/
> /*everything works*/
>
> $field1 = $row->FIELD1;
>
> /*execution exits from script at this point*/
> /*becase of the ->, how do I get aropund this
>
> /* more script here, but never accessed*/
> ?>
>
> </TABLE>
>
>
> Please gimme a hand.
>
> Sean
It might be helpful to see the relevant bits of your script leading up
to the problem spot. Do you get some sort of error message?
Cheers
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA