Parse error: syntax error, unexpected $end in C:\AppServ\www\Nantawat\admin_type_edit.php on line 28
คือผมแก้เท่าไหร่ ก็ไม่หายสักทีครับ
รบกวนทุกท่านช่วยผมด้วยครับ
<?
session_start();
if ($sess_adminid<>session_id ()){
header ( "location: admin.php");
exit();
$id_edit=$_get[id_edit];
include "connect.php";
$sql="select * from tb_type where id_type='$id_edit'";
$result=mysql_db_query($dbname,$sql);
$rs=mysql_fetch_array($result);
$id_type=$rs[id_type];
$name_type=$rs[name_type];
?>
<html>
<head><title>ร้านค้าออนไลน์ สำหรับผู้ดูแลระบบ</title></head>
<body>
<? include "admin_menu.php"; ?>
<form name="forml" method="post" action="admin_type_edit2.php">
แก้ไขประเภทสินค้า
<input type="text" name="name" value="<?=$name_type?>">
<input type="submit" name="submit" value="submit">
<input name="id_edit" type="hidden" value="<?=$id_edit?>">
</form>
</body>
</HTML>
[/b]