묻고답하기

소스 분석좀..

2005.08.10 21:55

갱깨w

<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<script language="javascript">
<!--
function textarea_size(obj) {
  obj.rows += 3;
  //resizeTo(,400)
}
-->
</script>
<style><!--
A:link { color: #ababab; text-decoration:none; }
A:visited { color: #ababab; text-decoration:none; }
A:active { color: #ababab; text-decoration:none; }
A:hover { color: #ababab; text-decoration:underline; } -->
</style>  
<script language='JavaScript'>
function newOpen(url) {
window.open(url,'cnjOpen','resizable=1,scrollbars=1,status=0,width=820,height=200');
}
</script>
<title>QnA 지식KIN </title>



<table border="0" cellpadding="0" cellspacing="0" width="800">
    <tr>
        <td colspan="3" width="800" height="32">
</font></span><span style="font-size:9pt;"><font color="#ABABAB"><br> - 이 페이지는 누구나 질문하고 답변 할 수 있도록 만들어진 오픈 데이터베이스 프로젝트입니다.</span></font>
        </td>
    </tr>
    <form name=db_project action=index.php method="post">
    <tr>
        <td width="80" valign="top">
            <p> </p>
        </td>
        <td width="620"> </td>
        <td width="80"> </td>
    </tr>
<tr>
        <td width="80" valign="top" height="77">



            <p align="center" style="margin-top:5; cursor:hand;" onclick="textarea_size(document.form.ask)"><span style="font-size:9pt;"><font color="#ABABAB">질문 내용 :<br><span style="font-size:8pt;">(늘이기)</span></font></span></p>
        </td>
        <td width="620" valign="top" height="77">
            <textarea name=ask rows="4" cols="89" style="color:rgb(72,118,118); border-width:1; border-color:rgb(38,118,145); border-style:solid;"></textarea></td>

        <td width="80" valign="top" height="77">

            <p align="center" style="margin-top:5;">                <input type="submit" name="button" value="등록"></form>
</p>
        </td>
    </tr>
  <tr>
        <td width="80"  height="33">

            <p align="center"><span style="font-size:9pt;"><font color="#ABABAB">총 db수 </font></span>
                <td width="620" height="33"><span style="font-size:9pt;"><font color="#ABABAB"> </font></span></td>
        <td width="80" height="33"> </td>
    </tr>


<?php // 수정 시작
$host_name = "localhost";
$user_name = "아이디";
$user_password = "비번";
$db_name = "db";   //수정끝
$connect = mysql_connect("$host_name","$user_name","$user_password");
            
     mysql_select_db("$db_name");

$que = "INSERT INTO qna VALUES (
                            '$ask',
                            '',
                            ''
                            )";
       mysql_query($que , $connect);

$data = "SELECT * FROM qna";
mysql_query( $quee , $connect);

for($i = 0; $i < $total; $i++)
{
mysql_data_seek($data,$i);
$human = mysql_fetch_array( $data );
?>
<?
echo "나 $human[num]";
}
?>

이소스 분석좀..해주세요
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
유지성 부탁입니다. 노프레임관련 질문 [2] 2007.08.10
레어목도리 플래쉬만들 때, 화면을 크게, 그리고 이미지 파일을 넣을 수 있을까요? [1] 2007.08.10
떡사마 트리메뉴에서 타겟지정하는 방법....헬프 [2] 2007.08.10
바다나비 웹페이지를 이용한 간단한 DB구현 [3] 2007.08.10
강슬기 올플래쉬사이트를 만드려고 하는데요.. [1] 2007.08.10
이석남 프래시메뉴와 스크롤 하는 게시물이 있으면 끊어지는건가요?  
웹키 ★저기염 급해염 ★ 부탁드려염... 제발  
윤지 파일 그리고 DB PHP 카운터들간의 차이점 [3] 2007.08.10
누굴까 아바타 로그인 스킨 오류 -- ;;도와주세요 [2] 2007.08.10
산성 .php?category=1&id=.. 의 주소에서 열리는 페이지에서 $category를 사용하기 [1] 2007.08.10
byGrace 소스에는 단락구분태그가 있는데 브라우저로 보면 단락이 붙어버립니다 [1] 2007.08.10
이동훈 스타일시트 적용할때 중복되는것을 어떻게 처리해야 할까요. [1] 2007.08.10
Cymus 자동으로 링크에 오늘날짜 링크걸리게 어떻게 하는지좀 갈켜주세요  
박기표 알ftp 에서 업로드를 할려고 하면 에러가나면서 안되요  
스넬 자바스크립트에 중국어를 넣으면 다 깨집니다  
이진환님 다른 프레임의 변화를 감지할수 있나요?? [1] 2007.08.10
뚜루맨 플래시 검색엔진 만들기 질문 [2] 2007.08.10
빗방울 바이러스→ 홈페이지?? [2] 2007.08.10
정용우 외부로긴스킨제작했는데..도와주세요 ㅠㅠㅠㅠ. [2] 2007.08.10
제이 새로고침할때 소리가 안나게하려면; [1] 2007.08.10
hozz호찌 MySQL now 함수에 대한 질문 [1] 2007.08.10
신상백 사진이 안 바뀝니다 [2] 2007.08.10
웹키 고스트2003으로 윈도우에서 빽업하고 염..고스트로 만들CD알 있죠..좀 도와주세요 ㅠㅠ제발  
Hyri~♪ input type radio 의 value에 대해서  
엘리 html페이지만드는데 질문이요~(기초적인것) [1] 2007.08.10
홍성훈 폼으로 넘겨받은 값에 따라 표의 배경색을 바꾸고 싶은데요 [3] 2007.08.10
♨청국장♨ ★★★★게시글이며 보드설정이 수정이 되지 않슴니다 ... [1] 2007.08.10
provide 하이퍼링크 질문!%% [1] 2007.08.10
puha5 제로보드에서 글쓰기가 안됩니다. [1] 2007.08.10
김태영 글자 폰트가 다르게 나와요.... [1] 2007.08.10