Hi,
I'm trying to add up an integer with the result from substr() like
$second_int = substr( .... ) + $int;
I know the result from substr() is an integer and so is $int but in the end
$second_int only has the result from the substr() and hasn't add up the
$int. What am I doing wrong in here... tried quite a few things but well....
Thanks in advance, Maarten
I'm trying to add up an integer with the result from substr() like
$second_int = substr( .... ) + $int;
I know the result from substr() is an integer and so is $int but in the end
$second_int only has the result from the substr() and hasn't add up the
$int. What am I doing wrong in here... tried quite a few things but well....
Thanks in advance, Maarten
Comment