Skip to content

Instantly share code, notes, and snippets.

@ahmadshah
Created February 24, 2014 16:41
Show Gist options
  • Save ahmadshah/9191892 to your computer and use it in GitHub Desktop.
Save ahmadshah/9191892 to your computer and use it in GitHub Desktop.
DIE!
<?php include_once("../_config.php");
$appcate = $_SESSION['jenis_pelanggan'];
$sql = DBquery("SELECT a.id_pelanggan,a.nama,b.id_pelanggan,alamat1,alamat2,poskod,bandar,id_negeri,no_tel,no_fax,
email
FROM li_pelanggan a,li_alamat b
WHERE a.id_pelanggan = '" . $_SESSION['id_pelanggan'] . "'
AND a.id_pelanggan = b.id_pelanggan
AND a.jenis_pelanggan = '".$appcate."'");
$rs = DBfetch($sql);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment