Re: Strip from 15th character to the end
Posted: Wed Jul 15, 2009 10:55 am
Dear god, this is just painful to watch!
Code: Select all
$end = substr($url, 14);A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
$end = substr($url, 14);Code: Select all
$end = substr($url, 0, 16);Thanks. I'm glad someone around here is nice. I've already got it, but it's the thought that counts!flying_circus wrote:Remove the quotes encapsulating your variable
Code: Select all
$end = substr($url, 0, 16);
By saying that the people [other than me] who didn't just post a spoon-feed answer are not nice is a rather ungrateful thing to say, IMO.azylka wrote:Thanks. I'm glad someone around here is nice. I've already got it, but it's the thought that counts!flying_circus wrote:Remove the quotes encapsulating your variable
Code: Select all
$end = substr($url, 0, 16);
Cheers,
Alex
I don't think they were "nice." I think they simply could not stand it anymore and were merciful.azylka wrote:Thanks. I'm glad someone around here is nice. I've already got it, but it's the thought that counts!
arborint wrote:I don't think they were "nice." I think they simply could not stand it anymore and were merciful.