Urg yep me again - ran into yet another problem...
I have a variable (some of you may know what project im referring to here) that has many lines of writing in.. i need to remove the first line and the last line...
Now.. im pretty sure im going to have to use an array for this? which is just my fav thing :/.. I studied Perl for 3 years and still didnt like using arrays :| so when it comes to php im even further away
but anyway I still had a go tho without using first and last line of the var as I dont know how to get those things, is there a function for that ?.. but here is my attempt at the array stuff.. "pretending" first line is fLine and last line is lLine..
but then reliased this will only give me the 2 lines I dont want ?!PHP Code:
$myary = $fLine."/".$lLine.;
$pdt = explode("/",$myary);
echo "after: ";
foreach($pdt as $value)
echo $value." ";
So as you can see - im totally lost with this.. any help would be great..
Thanks very much.