Test PHP / ODBC / Virtuoso connection


The __virt_internal_dsn() function returns:




select ?Basicos ?code ?name ?description ?keywords where { 

?Basicos ex:code ?code .
 ?Basicos ex:name ?name .
 ?Basicos ex:description ?description .
 ?Basicos ex:keywords ?keywords .

} ';
	
	$result = odbc_exec($db, $sql );
	$bla = odbc_result_all($result);
	echo $bla;
	odbc_disconnect ($db);

?>