내 코드입니다 : 내가 버튼 'bttncfg'을 클릭하면는 다시로드하지
<?php
$membertype=$_POST['txtmtn'];
$bookalit=$_POST['txtbal'];
$issueprd=$_POST['txtisp'];
$finegp=$_POST['selectfinegp'];
include '../connection.php';
if(isset($_POST['bttnsave']))
{
$sql="UPDATE member_type SET BookAllotmentLimit='$bookalit', IssueForPeriod='$issueprd',
FineGroupName='$finegp' WHERE MemberTypeName='$membertype'";
$res=mysql_query($sql);
}
?>
<form method="post" action="media.php">
<input type="text" name="txtmtn" id="txt" >
<input type="submit" name="bttncfg" id="button2" value="Create Fine Group" onClick="window.open('fine group.php', 'win1','width=420,height=320')">
벌금 group.php 열 수 있지만합니다
member.php (페이지) member.php 년대 txtmtn 값은 ..
그런데 어떻게하려고합니까? 팝업은 무엇을 할 것인가? –
메신저 데이터베이스에 데이터를 저장하려고하지만 페이지를 다시로드하지 않으려 고 시도하면 텍스트 필드 데이터가 표시되고 데이터베이스에 저장됨을 의미합니다. – sheetal369