I have a question about the explode function and am rather confused...
Say $msg=I like Corn
If I have [PHP]<?php
$mesg=explode(" ", $msg, 3);
echo $mesg[0].$mesg[2];
?>[/PHP]
will I manage to be able to pull this result:
"I like"?
Say $msg=I like Corn
If I have [PHP]<?php
$mesg=explode(" ", $msg, 3);
echo $mesg[0].$mesg[2];
?>[/PHP]
will I manage to be able to pull this result:
"I like"?
Comment