I have an HTML file which is on our database server at http://db.domain.com:575/query?-db=data ... ml&-update
That returns a number on to an html page. At the moment in my PHP scripts I can include this to display that number on my site.
Though for this specific task I need to get this number into a variable.
I'm assuming it's not as simple as just going...
Code: Select all
<?php
$var = include("http://db.domain.com:575/query?-db=data&-format=recordcount.html&-update");
?>Thanks