값넘기기 정보
값넘기기본문
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]; 이런건 아닌거 같은데요...
조언 부탁드립니다.
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '194409' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php