method=post 로 update1.php 에 값을 넘겨주는데요..어떻게 값을 받는지요...ㅜㅜ
<form name=fcoupon method=post action="boo_update1.php">
<?
while( $roww = mysql_fetch_array($res)){
$mb_id=$roww[mb_id];
$mb_1=$roww[mb_1];
$mb_nick=$roww[mb_nick];
?>
<tr height="27" class="list0 col1 center" onmouseover="this.style.backgroundColor='F2F2F2'" onmouseout="this.style.backgroundColor='FFFFFF'">
<td><?=$mb_nick?></td>
<td><?=$mb_id?></td>
<td><?=$mb_1?></td>
<td><input type='checkbox' value='1' name='mb_5[$i]' ";
if($row[mb_5])
echo "checked";></td>
<td><input type='checkbox' value='1' name='mb_6[$i]' ";
if($row[mb_6])
echo "checked";></td>
<td><span class='button blue small1'><input type='submit' value="변경저장" class="btn1"></span></td>
</tr>
</form>
위에 내용을 update1.php 에서 값을 받아서..$sql = 'update $g4[member_table]....을 실행하려는데요...
update1.php 에서 어떻게 값을 받아야 하나요..
$mb_id, mb_5, mb_6 의 값을 넘겨 받아야 합니다.
$mb_id=$_POST[mb_id]; 이런건 아닌거 같은데요...
조언 부탁드립니다.
<form name=fcoupon method=post action="boo_update1.php">
<?
while( $roww = mysql_fetch_array($res)){
$mb_id=$roww[mb_id];
$mb_1=$roww[mb_1];
$mb_nick=$roww[mb_nick];
?>
<tr height="27" class="list0 col1 center" onmouseover="this.style.backgroundColor='F2F2F2'" onmouseout="this.style.backgroundColor='FFFFFF'">
<td><?=$mb_nick?></td>
<td><?=$mb_id?></td>
<td><?=$mb_1?></td>
<td><input type='checkbox' value='1' name='mb_5[$i]' ";
if($row[mb_5])
echo "checked";></td>
<td><input type='checkbox' value='1' name='mb_6[$i]' ";
if($row[mb_6])
echo "checked";></td>
<td><span class='button blue small1'><input type='submit' value="변경저장" class="btn1"></span></td>
</tr>
</form>
위에 내용을 update1.php 에서 값을 받아서..$sql = 'update $g4[member_table]....을 실행하려는데요...
update1.php 에서 어떻게 값을 받아야 하나요..
$mb_id, mb_5, mb_6 의 값을 넘겨 받아야 합니다.
$mb_id=$_POST[mb_id]; 이런건 아닌거 같은데요...
조언 부탁드립니다.
댓글 2개
게시글 목록
| 번호 | 제목 |
|---|---|
| 284348 | |
| 284336 | |
| 284333 | |
| 284332 | |
| 284320 | |
| 284318 | |
| 284316 | |
| 284313 | |
| 284307 | |
| 284306 | |
| 284303 | |
| 284298 | |
| 284296 | |
| 284290 | |
| 284286 | |
| 284280 | |
| 284277 | |
| 284272 | |
| 284261 | |
| 284259 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기