|
|
|
ช่วยดูให้หน่อยค่ะ ลบ(delete)ข้อมูลในตารางไม่ได้ค่ะ |
|
|
|
|
|
|
|
ทำไมถึง ลบในตารางไม่ได้คะ
หน้าserver_add.php
Code (PHP)
<?
include "header.php";
if(isset($_SESSION['ssPermission'])){
if(($_SESSION['ssPermission']==admin)||($_SESSION['ssPermission']==operator)){ ?>
<link href="css/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="css/css.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" media="all" type="text/css" href="css/jquery-ui-timepicker-addon.css" />
<script type="text/javascript" src="css/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="css/jquery-ui.min.js"></script>
<script type="text/javascript" src="css/jquery-ui-timepicker-addon.js"></script>
<script type="text/javascript" src="css/jquery-ui-sliderAccess.js"></script>
<script type="text/javascript">
$(function() {
$("#date").datetimepicker();
});
</script>
<script type="text/javascript">
$(function() {
$("#date2").datetimepicker();
});
</script>
<script>
function setOptions(chosen) {
var selbox = document.inf_form.br_id;
selbox.options.length = 0;
if (chosen == " ") {
selbox.options[selbox.options.length] = new Option('please select company from above first',' ');
}
}
</script>
<div id="container" align="center">
<div id="searchForm" align="right">
<form id="search" name="frmSearchCustomer" method="get" action="<? echo $_SESSION['SCRIPT_NAME']; ?>">
<input type="text" name="txtKeyword" id="txtKeyword" value="<? echo $_GET['txtKeyword']; ?>" placeholder="Search...">
</form>
</div>
<div id="main">
<div id="bodyHead">
Server Add
</div>
<br/>
<form id="server_form" name="server_form" method="post" action="server_addProcess.php">
<table width="751" border="0" >
<tr>
<td width="113"> </td>
<td width="238"> </td>
</tr>
<tr>
<td height="33"> </td>
<td>หน่วยงาน</td>
<td width="21">:</td>
<td width="280"><label>
<select id="t_location" name="t_location">
<option value=""> --- select --- </option>
<?php
$strSQL = "SELECT * FROM tn_printerlocation ORDER BY LocationType ASC";
$objQuery = mysql_query($strSQL);
while($objResuut = mysql_fetch_array($objQuery))
{
if($strDefault == $objResuut["LocationType"])
{
$sel = "selected";
}
else
{
$sel = "";
}
?>
<option value="<?php echo $objResuut["LocationType"];?>" <?php echo $sel;?>><?php echo $objResuut["LocationType"]." - ".$objResuut["LocationName"];?></option>
<?php
}
?>
</select>
</label>
<td width="47"> </td>
</tr>
<tr>
<td height="34"> </td>
<td>ได้รับแจ้งเรื่อง</td>
<td>:</td>
<td><input type="text" name="t_inform" id="t_inform" width="200"/></td>
<td> </td>
<td width="26"> </td>
</tr>
<tr>
<td height="34"> </td>
<td>การแก้ไข (อธิบาย)</td>
<td>:</td>
<td><textarea name="t_edit" id="t_edit" cols=30 row=20 maxlength="200"></textarea></td>
<td> </td>
<tr>
<td height="34"> </td>
<td>รายการอุปกรณ์
ที่เบิกใช้(ถ้ามี)</td>
<td>:</td>
<td><input type="text" name="t_tool" id="t_tool" width="200"/></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="34"> </td>
<td>บันทึกอื่นๆเพิ่มเติม</td>
<td>:</td>
<td><textarea name="t_note" id="t_note" cols=30 row=20 maxlength="150"></textarea></td>
<td> </td>
<tr>
<td height="33"> </td>
<td>สถานะ</td>
<td width="21">:</td>
<td width="280"><label>
<select id="t_status" name="t_status">
<option value=""> --- select --- </option>
<?php
$strSQL = "SELECT * FROM status ORDER BY status_id ASC";
$objQuery = mysql_query($strSQL);
while($objResuut = mysql_fetch_array($objQuery))
{
if($strDefault == $objResuut["status_id"])
{
$sel = "selected";
}
else
{
$sel = "";
}
?>
<option value="<?php echo $objResuut["status_id"];?>" <?php echo $sel;?>><?php echo $objResuut["status_id"]." - ".$objResuut["status_name"];?></option>
<?php
}
?>
</select>
</label>
<td width="47"> </td>
</tr>
<tr>
<td height="34"> </td>
<td>ผู้ดำเนินการแก้ไข</td>
<td>:</td>
<td><input type="text" name="t_name" id="t_name" width="200"/></td>
<td> </td>
<td> </td>
</tr>
<td height="34"> </td>
<td>วันที่บันบึก</td>
<td>:</td>
<td><input type="text" name="t_date" id="date" width="200" placeholder="dd/mm/yyyy" /></td>
<td height="34"> </td>
<tr>
<td height="34"> </td>
<td>วันที่แก้ไข</td>
<td>:</td>
<td><input type="text" name="t_dateedit" id="date2" width="200" placeholder="dd/mm/yyyy" /></td>
<td height="34"> </td>
<tr>
<td height="21"> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td colspan="3"><div align="center">
<label>
<button class="buttonOk" type="submit" onmouseover="style.cursor='pointer';">Save</button>
</label>
<label>
<button class="buttonReset" type="reset" onmouseover="style.cursor='pointer';">Reset</button>
</label>
</div></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
<td> </td>
<td> </td>
</tr>
</table>
</form>
</div>
<? } else
{
include "permission_message.php";
} //if - check permission
} else
{
include "login_message.php";
} //else - check login
?>
<br/>
</div>
</div>
<?
include "footer.php";
?>
หน้าserver_addprocess
Code (PHP)
<?
include "header.php";
if(isset($_SESSION['ssPermission'])){
if(($_SESSION['ssPermission']==admin)||($_SESSION['ssPermission']==operator)){ ?>
<div id="container" align="center">
<div id="searchForm" align="right">
<form id="search" name="frmSearchCustomer" method="get" action="<? echo $_SESSION['SCRIPT_NAME']; ?>">
<input type="text" name="txtKeyword" id="txtKeyword" value="<? echo $_GET['txtKeyword']; ?>" placeholder="Search...">
</form>
</div>
<div id="main">
<div id="bodyHead">
Accessory Add
</div>
<br/>
<div>
<?
mysql_query("set NAMES utf-8");
$t_location=$_POST['t_location'];
$t_inform=$_POST['t_inform'];
$t_edit=$_POST['t_edit'];
$t_tool=$_POST['t_tool'];
$t_note=$_POST['t_note'];
$t_status=$_POST['t_status'];
$t_name=$_POST['t_name'];
$a=explode(" ",$_POST['t_date']);
$b=explode("/",$a[0]);
$day=$b[2]."-".$b[0]."-".$b[1];
$time=$a[1];
$t_date=$day." ".$time;
$c=explode(" ",$_POST['t_dateedit']);
$d=explode("/",$c[0]);
$day2=$d[2]."-".$d[0]."-".$d[1];
$time2=$c[1];
$t_dateedit=$day2." ".$time2;
$sql="select * from server where t_inform='".$t_inform."' and t_location='".$t_location."'";
$val = mysql_query($sql);
$num_rows = mysql_num_rows($val);
if($num_rows==0){
$sql = "insert into server values ('','".$t_location."', '".$t_inform."', '".$t_edit."','".$t_tool."','".$t_note."','".$t_status."','".$t_name."','".$t_date."','".$t_dateedit."')";
$result = mysql_query($sql);
if ($result)
{
$txt="add server ip=".$t_location;
$sqllog ="insert into log values ('','".$_SESSION['ssUsername']."','".$txt."','".date('Y-m-d H:i:s')."')";
$resultlog = mysql_query($sqllog);
?>
<table width="600" border="0">
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td width="150" height="24"> </td>
<td width="100">หน่วยงาน</td>
<td width="20">:</td>
<td width="205"><? echo $t_location; ?></td>
<td width="150"> </td>
</tr>
<tr>
<td height="24"> </td>
<td>ได้รับแจ้งเรื่อง</td>
<td>:</td>
<td><? echo $t_inform; ?></td>
<td> </td>
</tr>
<tr>
<td height="24"> </td>
<td>การแก้ไข (อธิบาย)</td>
<td>:</td>
<td><? echo $t_edit; ?></td>
<td> </td>
</tr>
<tr>
<td height="24"> </td>
<td>รายการอุปกรณ์
ที่เบิกใช้(ถ้ามี)</td>
<td>:</td>
<td><? echo $t_tool; ?></td>
<td> </td>
</tr>
<tr>
<td height="24"> </td>
<td>บันทึกอื่นๆเพิ่มเติม</td>
<td>:</td>
<td><? echo $t_note; ?></td>
<td> </td>
</tr>
<tr>
<td height="24"> </td>
<td>สถานะ</td>
<td>:</td>
<td><? echo $t_status; ?></td>
<td> </td>
</tr>
<tr>
<td height="24"> </td>
<td>ผู้ที่ดำเนินการแก้ไข</td>
<td>:</td>
<td><? echo $t_name; ?></td>
<td> </td>
</tr>
<tr>
<td height="24"> </td>
<td>วันที่บันบึก</td>
<td>:</td>
<td><? echo $t_date; ?></td>
<td> </td>
</tr>
<tr>
<td height="24"> </td>
<td>วันที่แก้ไข</td>
<td>:</td>
<td><? echo $t_dateedit; ?></td>
<td> </td>
</tr>
</table>
<br/>
<br/>
<script>
function link(){
location.href="server_show.php";
}
alert('Add complete.');
link();
</script>
<?
}else {
echo "Can not add. Please try again.";
echo "<br>"; }
?>
<br/>
<label><a href="server_add.php"><button class="buttonOk" type="submit" onMouseOver="style.cursor='pointer';">Back</button></a></label>
<label><a href="server_show.php"><button class="buttonReset" type="reset" onMouseOver="style.cursor='pointer';">Cancel</button></a></label>
<br/>
<br/>
<? }
} else
{
include "permission_message.php";
} //if - check permission
} else
{
include "login_message.php";
} //else - check login
?>
<br/>
</div>
</div>
หน้า server_edit.php
Code (PHP)
<?
include "header.php";
if(isset($_SESSION['ssPermission'])){
if(($_SESSION['ssPermission']==admin)||($_SESSION['ssPermission']==operator)){
$sql = "select * from server where t_id='".$_GET['t_id']."' ";
$val = mysql_query($sql);
$res = mysql_fetch_array($val);
?>
<link href="css/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="css/css.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" media="all" type="text/css" href="css/jquery-ui-timepicker-addon.css" />
<script type="text/javascript" src="css/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="css/jquery-ui.min.js"></script>
<script type="text/javascript" src="css/jquery-ui-timepicker-addon.js"></script>
<script type="text/javascript" src="css/jquery-ui-sliderAccess.js"></script>
<script type="text/javascript">
$(function() {
$( "#datepicker" ).datepicker();
});
</script>
<script type="text/javascript">
$(function() {
$( "#datepicker2" ).datepicker();
});
</script>
<script type="text/javascript">
$(function() {
$("#date").datetimepicker();
});
</script>
<script type="text/javascript">
$(function() {
$("#date2").datetimepicker();
});
</script>
<script>
function setOptions(chosen) {
var selbox = document.inf_form.br_id;
selbox.options.length = 0;
if (chosen == " ") {
selbox.options[selbox.options.length] = new Option('please select company from above first',' ');
}
}
</script>
<div id="container" align="center">
<div id="searchForm" align="right">
<form id="search" name="frmSearchCustomer" method="get" action="<? echo $_SESSION['SCRIPT_NAME']; ?>">
<input type="text" name="txtKeyword" id="txtKeyword" value="<? echo $_GET['txtKeyword']; ?>" placeholder="Search...">
</form>
</div>
<div id="main">
<div id="bodyHead">
Server Edit
</div>
<br/>
<form id="server_form" name="server_form" method="post" action="server_editProcess.php">
<table width="600" border="0">
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td width="113"> </td>
<td width="238"> </td>
</tr>
<tr>
<td height="33"> </td>
<td>หน่วยงาน</td>
<td width="21">:</td>
<td width="280"><label>
<select id="t_location" name="t_location">
<option value=""> --- select --- </option>
<?php
$strSQL = "SELECT * FROM tn_printerlocation ORDER BY LocationType ASC";
$objQuery = mysql_query($strSQL);
while($objResuut = mysql_fetch_array($objQuery))
{
if($strDefault == $objResuut["LocationType"])
{
$sel = "selected";
}
else
{
$sel = "";
}
?>
<option value="<?php echo $objResuut["LocationType"];?>" <?php echo $sel;?>><?php echo $objResuut["LocationType"]." - ".$objResuut["LocationName"];?></option>
<?php
}
?>
</select>
</label>
<tr>
<td height="34"> </td>
<td>ได้รับแจ้งเรื่อง</td>
<td>:</td>
<td><input type="text" name="t_inform" id="t_inform" width="200" value="<? echo $res["t_inform"]; ?>" /></td>
<td> </td>
</tr>
<tr>
<td height="34"> </td>
<td>การแก้ไข (อธิบาย)</td>
<td>:</td>
<td><input type="text" name="t_edit" id="t_edit" width="200" value="<? echo $res["t_edit"];?>"/></td>
<td> </td>
</tr>
<tr>
<td height="34"> </td>
<td>รายการอุปกรณ์
ที่เบิกใช้(ถ้ามี)</td>
<td>:</td>
<td><input type="text" name="t_tool" id="t_tool" width="200" value="<? echo $res["t_tool"];?>"/></td>
<td> </td>
</tr>
<tr>
<td height="34"> </td>
<td>บันทึกอื่นๆเพิ่มเติม</td>
<td>:</td>
<td><input type="text" name="t_note" id="t_note" width="200" value="<? echo $res["t_note"];?>"/></td>
<td> </td>
</tr>
<tr>
<td height="33"> </td>
<td>สถานะ</td>
<td width="21">:</td>
<td width="280"><label>
<select id="t_status" name="t_status">
<option value=""> --- select --- </option>
<?php
$strSQL = "SELECT * FROM status ORDER BY status_id ASC";
$objQuery = mysql_query($strSQL);
while($objResuut = mysql_fetch_array($objQuery))
{
if($strDefault == $objResuut["status_id"])
{
$sel = "selected";
}
else
{
$sel = "";
}
?>
<option value="<?php echo $objResuut["status_id"];?>" <?php echo $sel;?>><?php echo $objResuut["status_id"]." - ".$objResuut["status_name"];?></option>
<?php
}
?>
</select>
</label>
<tr>
<td height="34"> </td>
<td>ผู้ที่ดำเนินการแก้ไข</td>
<td>:</td>
<td><input type="text" name="t_name" id="t_name" width="200" value="<?php echo $res["t_name"];?>"/></td>
<td> </td>
</tr>
<tr>
<td height="34"> </td>
<td>วันที่บันบึก</td>
<td>:</td>
<td><input type="text" name="t_date" id="date" width="200" value="<?php echo $res["t_date"];?>"/></td>
<td> </td>
</tr>
<tr>
<td height="34"> </td>
<td>วันที่แก้ไข</td>
<td>:</td>
<td><input type="text" name="t_dateedit" id="date2" width="200" value="<?php echo $res["t_dateedit"];?>"/></td>
<td> </td>
</tr>
<tr>
<td><input type="hidden" name="t_id" id="t_id" value="<?php echo $res['t_id']; ?>" width="200"/></td>
</tr>
<tr>
<td height="21"> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td colspan="3"><div align="center">
<label>
<button class="buttonOk" type="submit" onmouseover="style.cursor='pointer';">Save</button>
</label>
<label>
<button class="buttonReset" type="reset" onmouseover="style.cursor='pointer';">Reset</button>
</label>
</div></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
<td> </td>
</tr>
</table>
</form>
</div>
<? } else
{
include "permission_message.php";
} //if - check permission
} else
{
include "login_message.php";
} //else - check login
?>
<br/>
</div>
</div>
<?
include "footer.php";
?>
หน้า server_editprocess
Code (PHP)
<?
include "header.php";
if(isset($_SESSION['ssPermission'])){
if(($_SESSION['ssPermission']==admin)||($_SESSION['ssPermission']==operator)){
?>
<div id="container" align="center">
<div id="searchForm" align="right">
<form id="search" name="frmSearchCustomer" method="get" action="<? echo $_SESSION['SCRIPT_NAME']; ?>">
<input type="text" name="txtKeyword" id="txtKeyword" value="<? echo $_GET['txtKeyword']; ?>" placeholder="Search...">
</form>
</div>
<div id="main">
<div id="bodyHead">
Server Edit
</div>
<br/>
<?
mysql_query("set NAMES utf-8");
$t_id=$_POST['t_id'];
$t_location=$_POST['t_location'];
$t_inform=$_POST['t_inform'];
$t_edit=$_POST['t_edit'];
$t_tool=$_POST['t_tool'];
$t_note=$_POST['t_note'];
$t_status=$_POST['t_status'];
$t_name=$_POST['t_name'];
$t_date=$_POST['t_date'];
$t_dateedit=$_POST['t_dateedit'];
$sql="select * from server where t_id= '".$t_id."'";
$val = mysql_query($sql);
$sql = "update server set t_location='".$_POST["t_location"]."',t_inform='".$_POST["t_inform"]."',t_edit='".$_POST["t_edit"]."',t_tool='".$_POST["t_tool"]."',t_note='".$_POST["t_note"]."',t_status='".$_POST["t_status"]."',t_name='".$_POST["t_name"]."',t_date='".$_POST["t_date"]."',t_dateedit='".$_POST["t_dateedit"]."' Where t_id ='".$_POST["t_id"]."' ";
$result = mysql_query($sql);
if ($result)
{
$txt="Edit server =".$_POST["t_location"]." ";
$sqllog ="insert into log values ('','".$_SESSION['ssUsername']."','".$txt."','".date('Y-m-d H:i:s')."')";
$resultlog = mysql_query($sqllog);
?>
<table width="600" border="0">
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td width="150" height="24"> </td>
<td width="100">หน่วยงาน</td>
<td width="20">:</td>
<td width="205"><? echo $_POST['t_location']; ?></td>
<td width="150"> </td>
</tr>
<tr>
<td height="24"> </td>
<td>ได้รับแจ้งเรื่อง</td>
<td>:</td>
<td><? echo $_POST['t_inform']; ?></td>
<td> </td>
</tr>
<tr>
<td height="24"> </td>
<td>การแก้ไข (อธิบาย)</td>
<td>:</td>
<td><? echo $_POST['t_edit']; ?></td>
<td> </td>
</tr>
<tr>
<td height="24"> </td>
<td>รายการอุปกรณ์
ที่เบิกใช้(ถ้ามี)</td>
<td>:</td>
<td><? echo $_POST['t_tool']; ?></td>
<td> </td>
</tr>
<tr>
<td height="24"> </td>
<td>บันทึกอื่นๆเพิ่มเติม</td>
<td>:</td>
<td><? echo $_POST['t_note']; ?></td>
<td> </td>
</tr>
<tr>
<td height="24"> </td>
<td>สถานะ</td>
<td>:</td>
<td><? echo $_POST['t_status']; ?></td>
<td> </td>
</tr>
<tr>
<td height="24"> </td>
<td>ผู้ที่ดำเนินการแก้ไข</td>
<td>:</td>
<td><? echo $_POST['t_name']; ?></td>
<td> </td>
</tr>
<tr>
<td height="24"> </td>
<td>วันที่บันบึก</td>
<td>:</td>
<td><? echo $_POST['t_date']; ?></td>
<td> </td>
</tr>
<tr>
<td height="24"> </td>
<td>วันที่แก้ไข</td>
<td>:</td>
<td><? echo $_POST['t_dateedit']; ?></td>
<td> </td>
</tr>
</table>
<br/>
<br/>
<?
} else
{
echo "Error Save [".$sql."]";
} //if - else
?>
<script>
function link(){
location.href="server_show.php";
}
alert('Data updated.');
link();
</script>
<? } else
{
include "permission_message.php";
} //if - check permission
} else
{
include "login_message.php";
} //else - check login
?>
<br/>
</div>
</div>
<?
include "footer.php";
?>
หน้า server_show.php
Code (PHP)
<?
include "header.php";
if(isset($_SESSION['ssPermission'])){
?>
<div id="container" align="center">
<div id="searchForm" align="right">
<form id="search" name="frmSearchCustomer" method="get" action="<? echo $_SESSION['SCRIPT_NAME']; ?>">
<input type="text" name="txtKeyword" id="txtKeyword" value="<? echo $_GET['txtKeyword']; ?>" placeholder="Search...">
</form>
</div>
<div id="main">
<div id="bodyHead">
Server Management
</div>
<br/>
<table id="tablesorter" class="zebra" width="80%" heigth="600px">
<thead>
<tr>
<th width="25%">หน่วยงาน</th>
<th width="15%">ได้รับแจ้งเรื่อง</th>
<th width="30%">การแก้ไข (อธิบาย)</th>
<th width="30%">รายการอุปกรณ์
ที่เบิกใช้(ถ้ามี)</th>
<th width="25%">บันทึกอื่นๆเพิ่มเติม</th>
<th width="15%">สถานะ</th>
<th width="30%">ผู้ที่ดำเนินการแก้ไข</th>
<th width="30%">วันที่บันบึก</th>
<th width="30%">วันที่แก้ไข</th>
<? if(($_SESSION['ssPermission']==admin)||($_SESSION['ssPermission']==operator)){ ?>
<th width="10%"><p>Menagement</p>
<? } ?>
</tr>
</thead>
<tbody>
<?
if($_GET['txtKeyword'] != ""){
$sql = "select * from server where t_location like '%".$_GET['txtKeyword']."%' or t_inform '%".$_GET['txtKeyword']."%' or t_edit like '%".$_GET['txtKeyword']."%' ";
$val = mysql_query($sql);
$num_rows = mysql_num_rows($val);
}else{
$sql = "select * from server ";
$val = mysql_query($sql);
$num_rows = mysql_num_rows($val);
}
while($result = mysql_fetch_array($val))
{
echo "<tr>";
echo "<td>".$result['t_location']."</td>";
echo "<td>".$result['t_inform']."</td>";
echo "<td>".$result['t_edit']."</td>";
echo "<td>".$result['t_tool']."</td>";
echo "<td>".$result['t_note']."</td>";
echo "<td>".$result['t_status']."</td>";
echo "<td>".$result['t_name']."</td>";
echo "<td>".$result['t_date']."</td>";
echo "<td>".$result['t_dateedit']."</td>";
if(($_SESSION['ssPermission']==admin)||($_SESSION['ssPermission']==operator)){
echo "<td align='center'><a href='server_edit.php?t_id=".$result['t_id']."'><img src='imgs/edit.png' alt='edit' border='0' /></a>   <a href='server_delete.php' onclick='del(\"".$result['t_id']."\",\"server\"); return false'><img name='imgDelete' alt='delete' src='imgs/delete.png' border='0'/></a></td>";
} //if
echo "</tr>";
} //while
?>
</tbody>
</table>
<br/>
<? include "show.php"; ?>
</div>
</div>
<? } else
{
include "login_message.php";
} //else - check login
?>
<br/>
</div>
</div>
<?
include "footer.php";
?>
หน้า server_delete.php
Code (PHP)
<?
include("config.inc.php");
if ($submit=="delete")
{
$sql = "Delete From server where t_id = '".$_GET["t_id"]."' ";
$result = mysql_query($sql);
if ($result)
{
?>
<script langauge="JavaScript">
window.location='server_show.php';
</script>
<?
}
else
{
echo "Error Delete [".$sql."]";
}
}
?>
ช่วยดูให้หน่อยค่ะ แก้มานานแล้วก็ยังไม่ออก ลบข้อมูลไม่ได้ค่ะ
Tag : PHP, HTML/CSS
|
ประวัติการแก้ไข 2015-10-27 14:21:48 2015-10-27 14:27:58
|
|
|
|
|
Date :
2015-10-27 14:18:43 |
By :
a_u_m22 |
View :
690 |
Reply :
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function del() อยู่ตรงไหนหรอครับ
<a href='server_delete.php' onclick='del(\"".$result['t_id']."\",\"server\"); return false'>
|
|
|
|
|
Date :
2015-10-27 14:27:37 |
By :
armdbz |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ไม่เห็นมี Delete เลย ครับ
|
|
|
|
|
Date :
2015-10-28 09:49:08 |
By :
tercool |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 00
|