| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/onesolution.com.hk/support/ |
Upload File : |
<?php require("configure.php"); ?>
<table border="0" cellpadding="1" cellspacing="1" width="800">
<?php
$sql = "SELECT * ";
$sql .= "FROM CM_CUSTOMER_HDR ";
$sql .= "where custid = ". $_GET['q'];
$result = mysql_query($sql);
while ($row = mysql_fetch_array($result,MYSQL_ASSOC))
{
?>
<tr><td width="150" class='content' align="left" width="150">Address:</td>
<td class='content'><?=$row{'address'}?></td><tr>
<tr><td class='content' align="left">Contact Person:</td>
<td class='content'><?=$row{'contactperson'}?></td><tr>
<tr><td class='content' align="left">Tel no:</td>
<td class='content'><?=$row{'telno'}?></td><tr>
<tr><td class="content" width="150">Email:</td>
<td class="content"><input type="text" name="email" value='<?=$row{'email'}?>' size="50" maxlength="100" class="content">
</td></tr>
<?
}
mysql_close($dbh);
?>
</table>