유

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;>

뭐 대충 이렇게 하면 됫는데

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

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

댓글 1개

댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
13-08-13 조회 936
13-08-13 조회 995
13-08-13 조회 1,406
13-08-13 조회 866
13-08-13 조회 934
13-08-13 조회 1,251
13-08-13 조회 853
13-08-13 조회 3,474
13-08-13 조회 1,128
13-08-13 조회 2,779
13-08-13 조회 1,218
13-08-13 조회 1,339
13-08-13 조회 1,092
13-08-13 조회 768
13-08-13 조회 2,091
13-08-13 조회 1,008
13-08-13 조회 1,081
13-08-13 조회 912
13-08-12 조회 918
13-08-12 조회 1,492