As the title said...is it possible to grab information out of a DB table in on another website's server?
I have two sites, different addresses, different servers. Is it possible that if I have info stored in table "Names" on site A, that I can display that list on site B?
I'm assuming if it's possible that it will involve changes to this code, but nothing has worked:
require($_SERVER['DOCUMENT_ROOT'] . '/include/display_homepage_news.php');
//set up table and database names
$db_name ="ref_rms";
$table_name ="NewsArticles";
//connect to server and select database
$connection =@mysql_connect("localhost","userame","password") or die(mysql_error());
$db =@mysql_select_db($db_name,$connection) or die(mysql_error());
Thanks in advance for any help.