묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
다시 질문할게요 ㅠ.ㅜ
2002.09.02 06:47
저기.. php메모장요..
제가 했거든요? (조금 성공...)
근데 오류가 2줄 나네요;;
제로보드에서도 본것 같아서 이렇게 올립니다
http://fnql1023.netcci.net/memo/memo.php
위에 주소입니다
소스는 아래 있습니다. 머가 잘못 된건지..
-------소스----------
<html>
<head>
<title>메모장</title>
</head>
<body>
<center>
<br><font size=6 face='+ '+ '돋움체'>레드넷 메모장</font>
<table width=600 cellspacing=1 cellpadding=1 bgcolor=6b7bad>
<tr>
<td align=center width=60><font size=2 color=white>번호</td>
<td align=center width=100><font size=2 color=white>작성자</td>
<td align=center width=440><font size=2 color=white>내용</td>
</tr>
<?
$connect = mysql_connect("localhost","fnql1023","패스워드");
mysql_select_db(localhost);
$query = "select * from memo order by num DESC";
$result = mysql_query($query,$connect);
while($row = mysql_fetch_array($result))
{
$row[regtime]=substr($row[regtime],11,8);
echo "
<tr bgcolor=ghostwhite>
<td align=center><font size=2>$row[num]</td>
<td align=center><font size=2>$row[writer]</td>
<td><font size=2>$row[memo] - <font color=red>$row[regtime]</td>
</tr>";
}
?>
</table>
<br>
<table width=600 cellspacing=1 cellpadding=1 bgcolor=6b7bad>
<form method=post action=http://fnql1023.netcci.net/memo/memo_end.php>
<tr bgcolor=ghostwhite>
<td align=center><font size=2>
작성자 : <input type=text name=writer size=10>
<input type=text name=memo size=40>
<input type=submit value='메모입력'>
</tr>
</form>
</table>
</body>
</html>
------------끝----------
제가 멀 안 입력한것 같은데.. 먼지좀 봐주세요 ㅠ.ㅜ
* 드림팀님에 의해서 게시물 이동되었습니다 (2002-09-02 08:55)
제가 했거든요? (조금 성공...)
근데 오류가 2줄 나네요;;
제로보드에서도 본것 같아서 이렇게 올립니다
http://fnql1023.netcci.net/memo/memo.php
위에 주소입니다
소스는 아래 있습니다. 머가 잘못 된건지..
-------소스----------
<html>
<head>
<title>메모장</title>
</head>
<body>
<center>
<br><font size=6 face='+ '+ '돋움체'>레드넷 메모장</font>
<table width=600 cellspacing=1 cellpadding=1 bgcolor=6b7bad>
<tr>
<td align=center width=60><font size=2 color=white>번호</td>
<td align=center width=100><font size=2 color=white>작성자</td>
<td align=center width=440><font size=2 color=white>내용</td>
</tr>
<?
$connect = mysql_connect("localhost","fnql1023","패스워드");
mysql_select_db(localhost);
$query = "select * from memo order by num DESC";
$result = mysql_query($query,$connect);
while($row = mysql_fetch_array($result))
{
$row[regtime]=substr($row[regtime],11,8);
echo "
<tr bgcolor=ghostwhite>
<td align=center><font size=2>$row[num]</td>
<td align=center><font size=2>$row[writer]</td>
<td><font size=2>$row[memo] - <font color=red>$row[regtime]</td>
</tr>";
}
?>
</table>
<br>
<table width=600 cellspacing=1 cellpadding=1 bgcolor=6b7bad>
<form method=post action=http://fnql1023.netcci.net/memo/memo_end.php>
<tr bgcolor=ghostwhite>
<td align=center><font size=2>
작성자 : <input type=text name=writer size=10>
<input type=text name=memo size=40>
<input type=submit value='메모입력'>
</tr>
</form>
</table>
</body>
</html>
------------끝----------
제가 멀 안 입력한것 같은데.. 먼지좀 봐주세요 ㅠ.ㅜ
* 드림팀님에 의해서 게시물 이동되었습니다 (2002-09-02 08:55)
대체 머가 잘못 된건지...