first
This commit is contained in:
16
modules/member/action/a.search_member.php
Normal file
16
modules/member/action/a.search_member.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
if(!defined('__KIMS__')) exit;
|
||||
|
||||
$data = array();
|
||||
|
||||
$Mbrs=getDbArray($table['s_mbrdata'],"nic like '%".$nic."%'",'memberuid,nic,name,email,photo','point','desc','',1);
|
||||
$mbrData = '';
|
||||
while($R=db_fetch_array($Mbrs)){
|
||||
if (!$R['photo']) $R['photo'] = '0.gif';
|
||||
$mbrData .= $R['nic'].'|'.$R['photo'].',';
|
||||
}
|
||||
$data['mbrlist'] = $mbrData;
|
||||
|
||||
echo json_encode($data);
|
||||
exit;
|
||||
?>
|
||||
Reference in New Issue
Block a user