new_php85 Posted September 10, 2008 Share Posted September 10, 2008 hi... everybody... i need some help ??? ??? ??? here is some situation...i create some program using php.end user can be categorize as HOD (head of department) and NON_HOD. HOD have their own area and same with NON_HOD.when HOD log on to the page, the system will come out with the list of NON_HOD with same area. how come to solve this problem?how to read the current area for user who logon to the system then use it to retrieve other user name that have same area with the current page. the query that i know only this... $q_ha="SELECT staff_name FROM staff_info WHERE HOD='NO'" $res_ha = mysql_query($q_ha) or die('Query failed. ' . mysql_error()); ??? ??? Link to comment https://forums.phpfreaks.com/topic/123555-help/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.