php 문에서의 질문이라고 해야되나요..? > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

php 문에서의 질문이라고 해야되나요..? 정보

php 문에서의 질문이라고 해야되나요..?

본문

아직 Php 제대로된 공부는 안하고 인터넷강의를 구해서 보고있습니다.
<td width="<?=$col_width?>%" align="center" valign='top'>

<?
$image = $list[$i][file][0][file]; //원본



  $img = "$g4[path]/data/file/$bo_table/".urlencode($list[$i][file][0][file]);
    if (!file_exists($img) || !$list[$i][file][0][file])
        $img = "$latest_skin_path/img/noimg.gif";
    $href = "$g4[bbs_path]/board.php?bo_table=$bo_table";
  //썸네일이 없을경우 원본출력
$thumb = $thumb_path. "/". $list[$i][wr_id];

  if ( file_exists($thumb) )
$img = $thumb;
 
$style = "style='font-family:돋움; font-size:9pt; color:#686695;' ";
if ($list[$i][icon_new]) {
$style = "style='font-family:돋움; font-size:9pt; color:#134980;' "; }
  $subject = "<span $style>".$list[$i][subject]."</span>"; //제목 글자수 자르기
$wr_hit  = $list[$i]['wr_hit'];
$wr_id  = $list[$i]['wr_id'];
  if ($list[$i]['comment_cnt']) //코
      $cmt = "({$list[$i]['comment_cnt']})";

$bg = "";  //새글?
if ($list[$i][icon_new])
$bg="la_top_2.gif";
else
$bg="la_top_1.gif";

echo $list[$i][icon_reply] . " ";

echo "<table cellpadding='0' cellspacing='0' border='0'>
<tr><td background='{$latest_skin_path}/img/la_bg.gif' valign='top' align='center'>
<a href=\"$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id=$wr_id\" onFocus=\"this.blur();\" title=\"{$list[$i][subject]}\">
<img src='{$img}' width='160' height='160' border=0' style='border:4 solid #ffffff'>
</a></td></tr>
                                                   
                                                    <tr>

                                      <td>
                                                      <a href='$href'>
                    <b>{$list[$i][subject]}</b>
                    <br /> {$list[$i]['comment_cnt']}
                    <br />
                    <span>{$list[$i][wr_2]}</span>
                    <span>$content</span>
                </a>
                                                    </td>
  </tr>
                                                   
                                                            <tr>
                                                    <td>
                                    ($upday) 
                                                    </td>
                                                    </tr>
                                                    </table>";


다음과 같이 있는데


여기에서 제일 아래쪽 부분에

그러니까 에코 안에 있는 td 나 tr에 속성을 넣고 싶은데.

가운데 정렬 속성이랑 높이나

html 일경우..

<td height=35;>

뭐 대충 이렇게 하면 됫는데

이렇게 넣으니까 안된다고 나오는데..음..아주 기초적인 부분일지라도..

가르쳐주시면 감사드리겠습니다.

댓글 전체

전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT