ITmembers.net 아카이브 · 2002–2009

질문과 답변

list.php에서 마우스오브랑아우 관련

        <?
while ($array=mysql_fetch_array($result)) {

        $date=date("Y/m/d", $array[writetime]); //글쓴시각을 Y/m/d 형식에 맞게 문자열로 바꿉니다.

        echo"
         <tr onmouseover="this.style.backgroundColor='D6EAFC'"  onmouseout="this.style.backgroundColor='#ffffff'">  
                           <td width=5%>$cur_num</td>
            <td width=70%><a href='view.php?page=$page&number=$array[number]'>$array[subject]
</td>
                   <td width=10%>$array[name]</td>
                   <td width=10%>$date</td>
                   <td width=5%>$array[count]
</td>
                            </tr>
                          <TR>
                <TD width=1 background=dot_line.gif></TD>
                           <TD background=dot_line.gif colSpan=4 height=1></TD
                </TR>
                                      ";
                           $cur_num --;
                
                   }
                   ?>


>>>>>>질문내용은..
마우스오브랑 아우 입니다.
<tr onmouseover="this.style.backgroundColor='D6EAFC'"  onmouseout="this.style.backgroundColor='#ffffff'">  

while문에서은 마우스오브랑아우이 적용되지 않는지요? 에러만 발생 ㅡㅡ
아무리생각해봐도.  ㅡㅡ
답변부탁합니다..

댓글 3