Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function GetMasterData($memberno){
- $select = array("no","name", "name2", "address", "address2", "postcode", "city", "telephone", "email", "mobilphone", "socialsecurityno","bankreg","bankaccount");
- $table = array("Contact");
- $where = "no = '".$memberno."'";
- $order = array("no");
- $result = mysql_select_array($select,$table,$where,$order,"no");
- /*while($row = mysql_fetch_assoc($result))
- {
- $newarray[]=$row;
- }
- return $newarray;*/
- return $row = mysql_fetch_assoc($result);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement