คำสั่ง คือ

ยอดเงินคืนไม่แสดงอะค่ะ อยากไห่มันแสดงจะได้รู้ว่าต้องชำระเท่าไหร่ค่ะ

<?php require_once('../Connections/connection.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? doubleval($theValue) : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } } $colname_pp = "-1"; if (isset($_POST['word'])) { $colname_pp = $_POST['word']; } mysql_select_db($database_connection, $connection); $query_pp = sprintf("SELECT Loans_id, Loans_date, Members_name, Loans_deadline, Loans_status, LP_date, LP_money FROM loans WHERE Members_name LIKE %s", GetSQLValueString("%" . $colname_pp . "%", "text")); $pp = mysql_query($query_pp, $connection) or die(mysql_error()); $row_pp = mysql_fetch_assoc($pp); $totalRows_pp = mysql_num_rows($pp); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="//www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>ศูนย์ข้าวชุมชนตำบลโพกรวม</title> <style type="text/css"> a:link { color: #000; text-decoration: none; } a:visited { text-decoration: none; color: #000; } a:hover { text-decoration: none; color: #F00; } a:active { text-decoration: none; color: #F00; } </style> </head> <body background="../img/11 (1).jpg"> <center> <img src="../img/111.jpg" height="250" width="1024"> <form id="form1" name="form1" method="post" action="payment_show.php"> <h2>ข้อมูลการรับชำระเงินกู้ยืมทุนกองทุน</h2> <label for="word">ค้นหาชื่อสมาชิก : </label> <input name="word" type="text" id="word" /> <input type="submit" name="button" id="button" value="ค้นหา" /> <table width="1100" border="0" align="center"> <tr> <td align="right"><a href="admin_page.php"><img src="../img/1138515785.gif"> <b>กลับเมนูหลัก</b> <img src="../img/1138515921.gif"></a></td> </tr> </table> <table border="1" align="center" width="1100"> <tr align="center" bgcolor="#FF99CC"> <td>รหัสรับชำระเงินกู้ยืม</td> <td>วันทำสัญญา</td> <td>ชื่อ-สกุลสมาชิก</td> <td>ยอดเงินคืน</td> <td>กำหนดคืน</td> <td>สถานะกู้ยืม</td> <td bgcolor="#FF9966">วันที่ชำระเงิน</td> <td>ยอดเงินคืนทั้งหมด</td> <td>เพิ่ม</td> <td>แก้ไข</td> <td>ลบ</td> <td>พิมพ์</td> </tr> <?php do { ?> <tr align="center" bgcolor="#FFCCCC"> <td><?php echo $row_pp['Loans_id'];?></td> <td><?php echo date("d-m-Y",strtotime($row_pp['Loans_date'])); ?></td> <td><?php echo $row_pp['Members_name']; ?></td> <td><?php echo $row_pp['Loans_balance']; ?></td> <td><?php echo date("d-m-Y",strtotime($row_pp['Loans_deadline'])); ?></td> <td><?php if(!isset($row_pp['Loans_status']) || $row_pp['Loans_status']=="ยังไม่ได้ชำระเงิน"){ echo $row_pp['Loans_status']; } ?></td> <td bgcolor="#FF9966"><?php if(!isset($row_pp['Loans_status']) || $row_pp['Loans_status']=="ยังไม่ได้ชำระเงิน"){ echo "00-00-0000"; }else{ echo date("d-m-Y",strtotime($row_pp['LP_date'])); } ?></td> <td><?php echo $row_pp['LP_money']; ?></td> <td><a href="payment_insert.php?Loans_id=<?php echo $row_pp['Loans_id']; ?>"><img src="../img/Add.png" width="30" height="28" /></a></td> <td><a href="payment_show.php?Loans_id=<?php echo $row_pp['Loans_id']; ?>"><img src="../img/Edit.png" width="30" height="28" /></a></td> <td><a href="payment_delete.php?Loans_id=<?php echo $row_pp['Loans_id']; ?>"><img src="../img/delete.png" width="30" height="28" /></a></td> <td><div title=""><a href="pay_pp.php?Loans_id=<?php echo $row_pp ['Loans_id']; ?>" title="{window.open("pay_pp.php?Loans_id=<? echo $row_pp['Loans_id']?>","popup","height=550,width=610,left=200,top=150,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no")}"><img src="../img/printButton.png" width="30" height="28" /></a></td> </tr> <?php } while ($row_pp = mysql_fetch_assoc($pp)); ?> </table> </form> </center> </body> </html> <?php mysql_free_result($pp); ?>

Toplist

โพสต์ล่าสุด

แท็ก

ไทยแปลอังกฤษ แปลภาษาไทย โปรแกรม-แปล-ภาษา-อังกฤษ พร้อม-คำ-อ่าน lmyour แปลภาษา แปลภาษาอังกฤษเป็นไทย pantip ไทยแปลอังกฤษ ประโยค แอพแปลภาษาอาหรับเป็นไทย ห่อหมกฮวกไปฝากป้าmv ระเบียบกระทรวงการคลังว่าด้วยการจัดซื้อจัดจ้างและการบริหารพัสดุภาครัฐ พ.ศ. 2560 แปลภาษาอาหรับ-ไทย Terjemahan พจนานุกรมศัพท์ทหาร หยน แปลภาษา มาเลเซีย ไทย Bahasa Thailand ข้อสอบภาษาอังกฤษ พร้อมเฉลย pdf บบบย tor คือ จัดซื้อจัดจ้าง การ์ดแคปเตอร์ซากุระ ภาค 4 ชขภใ ยศทหารบก เรียงลําดับ ห่อหมกฮวกไปฝากป้า หนังเต็มเรื่อง เขียน อาหรับ แปลไทย แปลภาษาอิสลามเป็นไทย Google map กรมพัฒนาฝีมือแรงงาน อบรมออนไลน์ กระบวนการบริหารทรัพยากรมนุษย์ 8 ขั้นตอน ข้อสอบคณิตศาสตร์ พร้อมเฉลย ค้นหา ประวัติ นามสกุล อาจารย์ ตจต แจ้ง ประกาศ น้ำประปาไม่ไหล แปลบาลีเป็นไทย แปลภาษา ถ่ายรูป แปลภาษาจีน แปลภาษามลายู ยาวี โรงพยาบาลภมูพลอดุยเดช ที่อยู่ Google Drive Info TOR คือ กรมพัฒนาฝีมือแรงงาน ช่างไฟฟ้า กรมพัฒนาฝีมือแรงงาน อบรมฟรี 2566 กลยุทธ์ทางการตลาด มีอะไรบ้าง การบริหารทรัพยากรมนุษย์ มีอะไรบ้าง การประปาส่วนภูมิภาค การ์ดแคปเตอร์ซากุระ ภาค 3 ขขขขบบบยข ่ส ข่าว น้ำประปา วันนี้ ข้อสอบโอเน็ต ม.6 มีกี่ตอน ตารางธาตุ ประปาไม่ไหล วันนี้