Posted by Toby Inkster on 01/18/07 13:29
drako wrote:
> I'm sure that there is a pretty simple mistake lurking somewhere - I
> just can't seem to figure it out.
>
> Any suggestions or hints ?
There doesn't seem to be anything wrong with the code you posted (except
for a missing semicolon after $x = 0), so I suspect the problem lies
somewhere in your other code.
Because of this missing semicolon, I suspect you have chopped out a
section of code between '$x=0' and '$_SESSION["increment"][$x]=array(...)'.
That is almost certainly where your problem lies. In particular, I think
you may have assigned some non-integer value to $x at some point.
Do 'print_r($x);' just before the error happens and see what you see.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
[Back to original message]
|