$id = $_GET['id']; ?>
// Include required require("./etc/ru.cfg"); if(!class_exists('ps_db')) { require($base_dir . "db/db.php"); } ?>
$db_pr = new ps_DB;
// Set Provider Updated DateTime
$dt=date('Y-m-d H:i:s');
$sql = "SELECT * FROM provider WHERE pr_pk=" . $id;
$db_pr->query($sql);
$db_pr->next_record();
$db_name = new ps_DB;
$sql = “SELECT * FROM resources WHERE rs_pk=” . $db_pr->f(‘rs_fk’);
$db_name->query($sql);
$db_name->next_record();
$resource_name=$db_name->f(“rs_name”);
?>
Copyright © 2014 - Resources Unite