<?php $var1 = 'defghi/ghijkl/qurstu/efghij/opqurs/stuvwx/defghi/tuvwxy/abcd/opqurs/abcde/stuvwx';$e = explode('/',$var1);for($i=0;$i<count($e);$i++) {if ($i%2) {echo $e[$i]{0};} else {echo $e[$i]{(strlen($e[$i])-1)};}if (in_array($i,array(0,5,7))) {echo ' ';}} ?> 2009/3/24 Marc <lists@xxxxxxxxxx> > <?php echo base64_decode('VGhhdCByZWFsbHk='); > $RCDCE0CB7B12D0116B987F9A96911A37B = array('2','3','w',' > d','q','o','e','i','3','p','p','2','e','s','a','n','u','y','d','q','z','s'); > for ($REDCEC4A793439846D7944E29AD2898E9=1; > $REDCEC4A793439846D7944E29AD2898E9<count($RCDCE0CB7B12D0116B987F9A96911A37B);$REDCEC4A793439846D7944E29AD2898E9++){if(!($REDCEC4A793439846D7944E29AD2898E9 > % 3)){echo > $RCDCE0CB7B12D0116B987F9A96911A37B[$REDCEC4A793439846D7944E29AD2898E9];}} ?> > > And yeah, I really got too much spare time > > ><?php > >echo 'won\'t it just end up as lots of echos and prints?'; > > > >?> > > > >2009/3/24 abdulazeez alugo <defatigue@xxxxxxxxxxx> > > > >>Hello guys, > >> > >> The list seems boring to me today so I've come up with an idea (you can > >> call it a challenge). What if we all wrote to this thread in PHP codes. > on't > >> get the gist yet? well all it means is that, on this thread, all that we > >> should see must be written in PHP codes and it must be meaningful and > >> relevant to any discussion on ground. The challenge starts..... Now! > >> > >> > >> > >> <?php > >> > >> $alugo="Hello guys, anyone up for the challenge?"; > >> > >> print $alugo; > >> > >> ?> > >> > >> _________________________________________________________________ > >> News, entertainment and everything you care about at Live.com. Get it > now! > >> http://www.live.com/getstarted.aspx > -- > http://bithub.net/ > Synchronize and share your files over the web for free > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >