Warning: offset not contained in string
| From: | Pavel Kharitonov | Date: | Thu, 27 Sep 2001 04:50:32 +0000 |
| Subject: | Warning: offset not contained in string | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68940@lists.php.net to get a copy of this message | ||
Hi everybody,
I'm very new to this list, so please bear with me if I break the "unspoken"
rules of the list (and let me know, of course:)
I have a question: did somebody encounter this warning before:
"Warning: offset not contained in string ***myscript.php on line xxx"
line xxx contains the following code:
$query.= " WHERE ses_id=$sid";
This warning started happening after I added some ' (single quotes) to the
string $query somewhere else at the top. At least that's the best reason I
can come up with.
TIA
Sincerely,
Pavel Kharitonov
Project Manager
Intechnic Corporation
http://www.intechnic.com
Phone: (847) 816-1231