Re: Stupid newbie question = Why don't I need a ; after this line?
| From: | Tom Rogers | Date: | Tue, 27 Jan 2004 06:38:52 +0000 |
| Subject: | Re: Stupid newbie question = Why don't I need a ; after this line? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175867@lists.php.net to get a copy of this message | ||
Hi,
Tuesday, January 27, 2004, 4:18:03 PM, you wrote:
P> Thanks for any advice.
P> Can anyone tell me why I do not get any errors with ( no ; after _id'] )
P> <?php echo $row_otherlawyer['lawyer_id']?>
P> <?php echo "NO ERROR";?>
From the manual (which is given away free:)
The closing tag for the block will include the immediately trailing newline if one is present.
Also, the closing tag automatically implies a semicolon;
you do not need to have a semicolon terminating the last line of a PHP block.
Closing tag of a PHP block at the end of a file is optional.
--
regards,
Tom