![]() |
strlen() and calculations
i set up a while in a function to pull some details from the database, however as part of the defined function i've set up a variable in order to get the length of a string and then subtract '4' from total. however upton checking this it seems that the variable
PHP Code:
|
I can't see anything wrong with that at all :)
What i would suggest is to put this before and see what it outputs, probably is the case that this has no value: PHP Code:
|
never mind just sorted it, thanks dean, you're a star :D
|
All times are GMT. The time now is 03:00 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|