Re: Parse Error
| From: | Matthew Cloner | Date: | Wed, 10 Oct 2001 18:14:12 +0000 |
| Subject: | Re: Parse Error | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-13203@lists.php.net to get a copy of this message | ||
Thanks to everyone who attempted to help me with this PHP/DB related
problem. I tried the new pieces of code, but unfortunately nothing seemed
to work. Finally, I just deleted the entire file and started from scratch.
Big surprise! Now I've got the system to finally work. My only explanation
is that somehow the original file may have gotten corrupted when I
downloaded it. I've seen this happen before. Thanks again.
Matthew Cloner
Multimedia Graphic Designer
Hynomics Corporation
Beau Lebens wrote:
> can you also please post line 63, but try changing 65 to read;
>
> $link = "f=" . $row['PostImage'];
>
> // -----Original Message-----
> // From: Matthew Cloner [mailto:cloner@feynman.hybrithms.com]
> // Sent: Wednesday, 10 October 2001 9:51 AM
> // To: PHPGalaxy.com
> // Cc: php-db@lists.php.net
> // Subject: Re: [PHP-DB] Parse Error
> //
> //
> // Sure. Here are lines 64 & 65, which kind of go together. It
> // might help if you
> // saw the code:
> //
> // if($row['PostTemplate']!="" AND
> $row['PostImage']!=""){
> // $link = "f=$row['PostImage']";
> //
> //
> // And here's that error message again:
> //
> //
> // > Parse error: parse error, expecting
T_STRING' or
> T_VARIABLE' or
> // > `T_NUM_STRING' in
> // > C:\Inetpub\wwwroot\ecard\index.php on line 64
> //
> //
> // It would be really great if you or someone else on this list
> // could figure out
> // a solution for this thing. Thanks for responding.
> //
> //
> // Matthew Cloner
> // Multimedia Graphic Designer
> // Hynomics Corporation
> //
> //
> //
> //
> //
> //
> // "PHPGalaxy.com" wrote:
> //
> // > Hey...would it be possible for you to copy/paste line 64
> // and reply? I had
> // > this error once before, it was when I did some sorta
> // getenv() function, and
> // > I had it slightly off. If I saw what you were doing, I'll
> // probably remember
> // > =)
> // >
> // > Matthew Cloner wrote:
> // >
> // > > This is my first post to this list. I'm in the process
> // of installing a
> // > > "virtual e-card" system on our Windows NT server. It
> // involves using both
> // > > PHP4 and MySQL.
> // > > The installation process was a success, but I've been
> // having problems
> // > > viewing the index.php file. I keep getting the following
> // Parse error
> // > > message:
> // > >
> // > > Parse error: parse error, expecting T_STRING' or
> T_VARIABLE' or
> // > > `T_NUM_STRING' in
> // > > C:\Inetpub\wwwroot\ecard\index.php on line 64
> // > >
> // > > I was advised by the creator of this virtual e-card
> // system to add the
> // > > following piece of code to the second line:
> // > >
> // > > error_reporting(0);
> // > >
> // > > Unfortunately, this didn't solve the problem. I was
> // hoping that someone
> // > > on this list might know the answer. I have a feeling
> // that it might be a
> // > > simple solution. Thanks in advance to anyone who knows
> // the answer.
> // > >
> // > > Matthew Cloner
> // > > Multimedia Graphic Designer
> // > > Hynomics Corporation
> // > >
> // > > --
> // > > PHP Database Mailing List (http://www.php.net/)
> // > > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> // > > For additional commands, e-mail: php-db-help@lists.php.net
> // > > To contact the list administrators, e-mail:
> // php-list-admin@lists.php.net
> // >
> // > --
> // > - Tim
> // > PHP Galaxy: http://www.phpgalaxy.com/
> // > The LavaWarp Engine:
> http://www.phpgalaxy.com/engine.php3
> // > BitSearch: http://www.phpgalaxy.com/bitsearch.php3
> // > MetaWarp: http://www.phpgalaxy.com/metawarp.php3
> // > PhotoRate: http://www.phpgalaxy.com/photorate.php3
> // > Earn $10 per order selling these scripts on your site!
> // > http://www.phpgalaxy.com/aff/
> //
> //
> // --
> // PHP Database Mailing List (http://www.php.net/)
> // To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> // For additional commands, e-mail: php-db-help@lists.php.net
> // To contact the list administrators, e-mail:
> // php-list-admin@lists.php.net
> //