Re: Parse error on array and SQL query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dillon, John wrote:

On line 188 and similar:
line 187 $this=$altIDs[$i]; line 188 $query .= "ID='$this'";


I get the error: Parse error: parse error in
/home/jdillon/public_html/provreport.php on line 188

Could this be because some setting has been changed on my shared host?

$this is normally used in object oriented programming to signify the current object. That may be causing the trouble. I'd use another variable than $this.


--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux