howdy all
I have a script thats throwing an error
basically $offset is a number i.e. 10, 20, 30 etc. and I want to get
the first digit of this number as it increases and add one to the
result and compare it. so if its 30, i want to get the '3' and add 1
to make it '4' and see if it matches a number. this is what i used but
i get an error
} elseif ($pages = intval($offset{ 0})++1) {
any direction would be greatly appreciated
thanks
I have a script thats throwing an error
basically $offset is a number i.e. 10, 20, 30 etc. and I want to get
the first digit of this number as it increases and add one to the
result and compare it. so if its 30, i want to get the '3' and add 1
to make it '4' and see if it matches a number. this is what i used but
i get an error
} elseif ($pages = intval($offset{ 0})++1) {
any direction would be greatly appreciated
thanks
Comment