Hello Jough,

Monday, March 1, 2004, 3:58:31 PM, you wrote:

JP> Greetings all, I'm getting "Notice: Undefined offset" regarding
this JP> line of code while inside a for loop: if($this->>inputs[$i]
== "user")

JP> I assume the 'offset' that is undefined is $i.  But $i is defined is
JP> the for statement above it.

$i should be in single-quotes, although it isn't the cause of the
error. Your var (inputs) isn't defined in your class.

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

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

Reply via email to