[eluser]ven_dev[/eluser]
I almost finished my first CI website,however I have a little problem now.
On my local pc my php version is 5.3 but on the server its 5.2.*
In my core I use strstr() function with the third parrameter bool.(not supported in <5.3)
What I need to do is:
$string = 'some different string every time where my need is missing in this strange string';
$before = 'string';
$after = 'missing';
And what I need to get is the code between 'string' and 'missing'.
And the final need is 'every time where my need is';
The words string and missing are always there,only the answer is different everytime.
I hope I explained it good.
Please help me you good coders