csckid Posted January 5, 2010 Share Posted January 5, 2010 what does "#" represent? $page=file_get_contents($external); $page=str_ireplace('<tr', '#beginrow#<tr', $page); $page=str_ireplace('</tr>', '#endrow#</tr>', $page); I didn't understand what #beginrow# is doing here? THanks Quote Link to comment https://forums.phpfreaks.com/topic/187230-need-explanation/ Share on other sites More sharing options...
Adam Posted January 5, 2010 Share Posted January 5, 2010 That snippet basically takes the contents of a file and inserts "#beginrow#" before the opening tag of all tables rows, and "#endrow#" before the closing tag; storing the result into the $page variable. In that context I can't imagine what purpose it servers. Quote Link to comment https://forums.phpfreaks.com/topic/187230-need-explanation/#findComment-988739 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.