SunTaag  
Front Page
Tag | Location | Media | Guestbook | Admin   
 
Clash of Clan Town hall 8 Layout for Clan War



'ETC.' 카테고리의 다른 글

2015-07-04 내 팔 상태  (0) 2015.07.06
논문의 완성 과정  (0) 2014.08.09
아주대 종합관 11층에서 바라본 풍경  (0) 2014.08.09
2048 MAX!!  (0) 2014.07.29
첫 번째 블로깅  (0) 2011.03.30


PHP를 이용한 MySQL Database 생성

<?

/* Database 정보 */

$host = "localhost";

$user = "root";

$pass = "********";

$database = "experiment";

$tbl_tutor "subject";

/* MySQL 접속 */

$db = mysql_connect($host,$user,$pass) or die("서버 접속 에러 in create_table.php");

$sql "create database ".$database;

// 쿼리를 실행해서 결과값을 $result에 할당

$result = mysql_query($sql, $db);

if(!$result) // 데이터베이스 생성결과가 오류이면

{

echo "error) ".$sql."<br>";

echo mysql_errno()." : ".mysql_error()."<br>";

}

else

echo $database." 데이터베이스가 작성되었습니다.<br>";

echo "<br>";


/* Database 선택 */

mysql_select_db($database,$db);


/* 테이블 생성*/

$sql="create table ".$tbl_tutor."(".

"name text not null,".

"age int not null,".

"birth_year int not null,".

"gender varchar(1) not null,".

"address text not null,".

"phone text not null".

")";


// 쿼리를 실행해서 결과값을 $result에 할당

$result = mysql_query($sql, $db);

if(!$result) // 테이블 생성결과가 오류이면

{

echo "error) ".$sql."<br>";

echo mysql_errno()." : ".mysql_error()."<br>";

}

else

echo $tbl_tutor." 테이블이 작성되었습니다.<br>";

echo "<br>";


?>



2048 MAX!!



지난번 입원했을때 practice mode로 약 3주간 수만번 undo 해가며 만든 2048!!

'ETC.' 카테고리의 다른 글

2015-07-04 내 팔 상태  (0) 2015.07.06
논문의 완성 과정  (0) 2014.08.09
아주대 종합관 11층에서 바라본 풍경  (0) 2014.08.09
Clash of Clan Town hall 8 Layout for Clan War  (0) 2014.07.31
첫 번째 블로깅  (0) 2011.03.30


Coldplay - What if 뮤비/가사/번역


What if there was no lie
Nothing wrong, nothing right
만약 거짓말이 없다면 
틀린것도, 옳은것도 없겠지

What if there was no time
And no reason, or rhyme
만약 시간이 없다면
이유나 운율이 없겠지

What if you should decide
That you don't want me there by your side
That you don't want me there in your life
만약 당신이 내가 당신 옆에 있는 것을, 당신의 인생에 속해 있는 것을 그만 둬야 한다면

What if I got it wrong
And no poem or song
내가 잘못 알았다면
시와 노래는 없겠지

Could put right what I got wrong
Or make you feel I belong
내 잘못을 바로 잡을 수 있을까
또는 당신이 내가 속한것을 느낄 수 있을까

What if you should decide
That you don't want me there by your side
That you don't want me there in your life
만약 당신이 내가 당신 옆에 있는 것을, 당신의 인생에 속해 있는 것을 그만 둬야 한다면

Ooh ooh-ooh, that's right
Let's take a breath, jump over the side
Ooh ooh-ooh, 바로 그거야
숨을 쉬며 밖으로 뛰어 넘자

Ooh ooh-ooh, that's right
How can you know it, if you don't even try
Ooh ooh-ooh, 바로 그거야
당신이 시도해보지 않은 것을 어떻게 알 수 있을까

Ooh ooh-ooh, that's right
Ooh ooh-ooh, 바로 그거야

Every step that you take
Could be your biggest mistake
당신이 딛는 발걸음은
가장 큰 실수가 될 수 있어

It could bend or it could break
That's the risk that you take
휘어질 수도, 부러질 수도있어
그게 니가 선택한 위험이야

What if you should decide
That you don't want me there in your life
That you don't want me there by your side
만약 당신이 내가 당신 옆에 있는 것을, 당신의 인생에 속해 있는 것을 그만 둬야 한다면

Ooh ooh-ooh, that's right
Let's take a breath, jump over the side
Ooh ooh-ooh, 바로 그거야
숨을 쉬며 밖으로 뛰어 넘자

Ooh ooh-ooh, that's right
How can you know it, if you don't even try
Ooh ooh-ooh, 바로 그거야
당신이 시도해보지 않은 것을 어떻게 알 수 있을까

Ooh ooh-ooh, that's right
Ooh ooh-ooh, 바로 그거야

Oh - Ooh ooh-ooh, that's right,
Let's take a breath, jump over the side.
Ooh ooh-ooh, 바로 그거야
숨을 쉬며 밖으로 뛰어 넘자

Ooh ooh-ooh, that's right,
You know that darkness always turns into light.
Ooh ooh-ooh, 바로 그거야
어둠이 항상 빛이 되는 것을 알고 있어

Ooh-ooh, that's right
Ooh ooh-ooh, 바로 그거야


'Youtube' 카테고리의 다른 글

Travis - Closer 뮤비/가사/번역  (0) 2014.08.08


첫 번째 블로깅

두 번째 블로그의 첫 번째 블로깅



'ETC.' 카테고리의 다른 글

2015-07-04 내 팔 상태  (0) 2015.07.06
논문의 완성 과정  (0) 2014.08.09
아주대 종합관 11층에서 바라본 풍경  (0) 2014.08.09
Clash of Clan Town hall 8 Layout for Clan War  (0) 2014.07.31
2048 MAX!!  (0) 2014.07.29


BLOG main image
 Notice
 Category
분류 전체보기 (20)
Algorithm (3)
Signal Processing (0)
Programming (6)
Research (1)
Youtube (2)
ETC. (8)
 TAGS
 Calendar
«   2025/07   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
 Recent Entries
 Recent Comments
 Archive
 Link Site
 Visitor Statistics
Total :
Today :
Yesterday :
rss