$sql="SELECT * FROM " .$table. " where id=" .$id;
$rs = mysql_fetch_array($r, MYSQL_ASSOC);
Works perfectly if I place it in the main file, for eg:
and it works perfectly if I include another file inside the same host:
but it just collapses when i include the same function remotelly:
First of all I thought that maybe it was some sort of remote-connection problem, but in the same example I am including another cross-domain file,
wich is not defining any function, but rather writting some dumb text, and it works nice.