RE: [PHP-DB] Parse Error
| From: | Beau Lebens | Date: | Wed, 10 Oct 2001 02:14:01 +0000 |
| Subject: | RE: [PHP-DB] Parse Error | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-13174@lists.php.net to get a copy of this message | ||
of course - oh dear i feel like an idiot :P
mish-mash of php and pseudo-code :P
if($row['PostTemplate']!="" &&
$row['PostImage']!=""){
----------------------------^^ (not "AND")
// -----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
//