RE: Unknown() error

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

 



Just a guess, but do you have a variable (global variable) named $15
someplace? If you do, PHP does not allow variable names that start with
numbers.

> -----Original Message-----
> From: AP Fritts [mailto:apfritts@apwebd.com]
> Sent: Friday, February 28, 2003 3:51 PM
> To: php-db@lists.php.net
> Subject:  Unknown() error
> 
> 
> Hi!  I am having a problem with Unknown() error.
> Here is my code:
> 
> echo "2";
> mysql_query("INSERT INTO sessions SET sessionid='{$sid}',
> ipaddr='{$_SERVER["REMOTE_ADDR"]}, 
> page='{$_SERVER["SCRIPT_FILENAME"]}',
> dt='".$dt."'")
>    or OnErr(2);
> echo "3";
> 
> I get this error:
> 
> Notice: Unknown(): The session bug compatibility code will 
> not try to locate
> the global variable $15 due to its numeric nature. in Unknown 
> on line 0
> 
> I know that it has to do with the mysql_query line because 
> the system prints
> out "2" but doesn't print "3".
> 
> Thanks in advance for your help,
> AP Fritts
> 
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
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