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 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. Link to comment https://forums.phpfreaks.com/topic/187230-need-explanation/#findComment-988739 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.