Jump to content

help......


new_php85

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.