Hi,
I need help with the following code. I’m trying to pull information from another website and display it on my own. The information is within Div tags, and this site updates this information daily. The code i’m trying to use is below, any help is appreciated I haven’t had any luck!
<?php $friendsPage = file_get_contents("http://www.iec-houston.org"); $divStart = strpos($friendsPage, "<div id='salatTime'"); $divEnd = strpos($friendsPage, "", $divStart); $divContents = substr($friendsPage, $divStart, $divEnd - $divStart + 6); ?>