I want to know how would I get a number from a sentence using file_get_contents and split? This is the code I'm using...
The sentence on the website is:-Code:<?php $rs = file_get_contents("http://www.runescape.com/title.ws"); list($rs) = split('There are currently', $rs); echo "$rs"; ?>
There are currently random number people playing!
When I run the code it shows me the site and stops where the sentence is and just shows the letters "There" whats wrong with the code?




Reply With Quote