Thread: Quick Question
View Single Post
Old 07-23-2005, 01:41 PM  
jwerd
Confirmed User
 
Industry Role:
Join Date: Jun 2003
Location: Costa Rica
Posts: 1,953
I may not understand this but off the top of my head this would work (incase you want to do it in php ever):

PHP Code:
// Assuming $buffer has the contents of your file...

$exp explode("@@"$buffer); // Pack this into an array...

// By default, $exp[0] would be the first part...

// So instead we just use $exp[1] first... :)

echo $exp[1].$exp[0]; 
Quicker than the mirror trick, too... and doesn't waste paper, LOL
__________________
Yii Framework Guru - Seasoned PHP vet - Partner @ XXXCoupon.com
jwerd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote