Re: Parse error - script help.
| From: | Brian Clark | Date: | Tue, 17 Apr 2001 03:14:55 +0000 |
| Subject: | Re: Parse error - script help. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-48878@lists.php.net to get a copy of this message | ||
Hi Dddogbruce,
@ 10:58:47 PM on 4/16/2001, Dddogbruce (@home.com) wrote:
> Ok, I know it's messy - no, I don't care. :P
> Parse error: parse error in C:/XITAMI/owen/website/tss/guestbookSG.php
> on line 43
...
> <?
> $space = " ";
> if( $submitfrm )
> {
> echo "your entry will be added shortly.";
> $submitmsg = file( "gb.txt" );
> $fp = fopen( "gb.txt", 'a' );
> rewind($fp);
> fwrite( $fp, "fwrite( $fp, "<table border=\"0\"
> cellpadding=\"0\"
^^^
Remove the quotation mark.
> cellspacing=\"0\"> <tr> <td width=\"236\"><p><font
> size=\"1\"><b>$subject</b> : <a
> href=\"mailto:$email\">$name</a></td>
> </tr> <tr> <td width=\"236\"><font
> size=\"1\"><p>$submition</td> </tr>
> </table><br>" );
> fclose( $fp );
> }
> else
> {
> include ( "guestbooks.php" );
> }
?>>
...
> It isn't working. Pfft!
> -Owen
-Brian
--
PGP is spoken here: 0xE4D0C7C8
Please, DO NOT carbon copy me on list replies.