"; print""; #------------------- { $result = mysql_db_query ($db_database,"select welltrients_description.*,welltrients_name.* from welltrients_description left join welltrients_name on welltrients_description.welltrients_id=welltrients_name.welltrients_ids order by welltrients_name asc"); } #------------------- $server = mysql_connect($db_location,$db_username,$db_password) or die ("Could not connect"); $ddata = mysql_db_query ($db_database,"select welltrients_description.*,welltrients_name.* from welltrients_description left join welltrients_name on welltrients_description.welltrients_id=welltrients_name.welltrients_ids where welltrients_id='$welltrients_id'"); $result = mysql_fetch_array ($ddata); print ""; print ""; print ""; include('view_detail.php'); print"
".$result['welltrients_id']."  
".$result['welltrients_status']."
"; ?>