{"id":2228,"date":"2011-07-27T21:03:42","date_gmt":"2011-07-27T12:03:42","guid":{"rendered":"http:\/\/pchero21.com\/?p=2228"},"modified":"2011-07-27T21:03:42","modified_gmt":"2011-07-27T12:03:42","slug":"mysql_query-return-1","status":"publish","type":"post","link":"http:\/\/pchero21.com\/?p=2228","title":{"rendered":"mysql_query() return 1"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>mysql \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc774\uc6a9\ud55c MySQL C \ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c \uc774\uc0c1\ud55c \ub85c\uadf8\ub97c \ubc1c\uacac\ud588\ub2e4.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>mysql_query()\u00a0 \ud568\uc218 \uacb0\uacfc\ub97c \uc218\ud589\ud55c \uacb0\uacfc\uac12\uc774 1\uc774 \ub098\uc654\ub358 \uac83.<\/strong><br \/>\nmysql_query() \uc5d0 \uad00\ud55c \uba85\uc138\ub294 \ub2e4\uc74c \ub9c1\ud06c\uc5d0\uc11c \ucc3e\uc744 \uc218 \uc788\uc5c8\ub2e4.<\/p>\n<p><a href=\"http:\/\/dev.mysql.com\/doc\/refman\/5.0\/en\/mysql-query.html\">http:\/\/dev.mysql.com\/doc\/refman\/5.0\/en\/mysql-query.html<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\uc774 \uc911, Return Value\uc640 \uad00\uacc4\uc788\ub294 \ud56d\ubaa9\uc744 \uc544\ub798\uc5d0 \ub098\ud0c0\ub0b4\uc5c8\ub2e4.<\/p>\n<blockquote>\n<h5><a name=\"id1219723\"><\/a> Return Values<\/h5>\n<p>Zero if the statement was successful. Nonzero if an error         occurred.<\/p><\/blockquote>\n<p>\uc815\uc0c1\uc77c \uacbd\uc6b0 0, \uc2e4\ud328\uc77c \uacbd\uc6b0 0\uc774 \uc544\ub2cc \ub2e4\ub978 \uac12\uc774 \ub098\uc628\ub2e4\uace0 \ub098\uc640\uc788\ub2e4.<br \/>\n\uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud588\uc744 \uacbd\uc6b0\uc758 \ub098\ud0c0\ub098\uc9c0\ub294 \uacb0\uacfc\uac12\ub4e4\uc744 \uc0b4\ud3b4\ubcf4\uc558\ub2e4.<\/p>\n<blockquote>\n<h5>Errors<\/h5>\n<\/blockquote>\n<div>\n<blockquote>\n<ul>\n<li><a href=\"http:\/\/dev.mysql.com\/doc\/refman\/5.0\/en\/error-messages-client.html#error_cr_commands_out_of_sync\"><code>CR_COMMANDS_OUT_OF_SYNC - <\/code><code>2014<\/code><\/a>\n<p>Commands were executed in an improper order.<\/li>\n<li><a href=\"http:\/\/dev.mysql.com\/doc\/refman\/5.0\/en\/error-messages-client.html#error_cr_server_gone_error\"><code>CR_SERVER_GONE_ERROR - <\/code><code>2006<\/code><\/a>\n<p>The MySQL server has gone away.<\/li>\n<li><a href=\"http:\/\/dev.mysql.com\/doc\/refman\/5.0\/en\/error-messages-client.html#error_cr_server_lost\"><code>CR_SERVER_LOST - <\/code><code>2013<\/code><\/a>\n<p>The connection to the server was lost during the query.<\/li>\n<li><a href=\"http:\/\/dev.mysql.com\/doc\/refman\/5.0\/en\/error-messages-client.html#error_cr_unknown_error\"><code>CR_UNKNOWN_ERROR - <\/code><code>2000<\/code><\/a>\n<p>An unknown error occurred.<\/li>\n<\/ul>\n<\/blockquote>\n<\/div>\n<p>mysql_query() \ud568\uc218\uc758 \ub9ac\ud134\uac12\uc774 1\uc778 \uacbd\uc6b0\uc5d0 \ub300\ud55c \ub0b4\uc6a9\uc740 \ucc3e\uc744 \uc218 \uc5c6\uc5c8\ub2e4.<br \/>\n\uacb0\uad6d mysql_error() \uc640 mysql_errno() \ud568\uc218\ub97c \uc774\uc6a9\ud574 \uc5d0\ub7ec \uba54\uc2dc\uc9c0\ub97c \uc9c1\uc811 \ub85c\uadf8\uc5d0 \ucc0d\uc5b4\ubcf4\uace0 \ub098\uc11c\uc57c \uadf8 \uc6d0\uc778\uc744 \uc54c \uc218 \uc788\uc5c8\ub2e4.<\/p>\n<blockquote><p><strong>1054\u00a0 &#8211; Unknown column <\/strong><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; mysql \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc774\uc6a9\ud55c MySQL C \ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c \uc774\uc0c1\ud55c \ub85c\uadf8\ub97c \ubc1c\uacac\ud588\ub2e4. &nbsp; mysql_query()\u00a0 \ud568\uc218 \uacb0\uacfc\ub97c \uc218\ud589\ud55c \uacb0\uacfc\uac12\uc774 1\uc774 \ub098\uc654\ub358 \uac83. mysql_query() \uc5d0 \uad00\ud55c \uba85\uc138\ub294 \ub2e4\uc74c \ub9c1\ud06c\uc5d0\uc11c \ucc3e\uc744 \uc218 \uc788\uc5c8\ub2e4. http:\/\/dev.mysql.com\/doc\/refman\/5.0\/en\/mysql-query.html &nbsp; \uc774 \uc911, Return Value\uc640 \uad00\uacc4\uc788\ub294 \ud56d\ubaa9\uc744 \uc544\ub798\uc5d0 \ub098\ud0c0\ub0b4\uc5c8\ub2e4. Return Values &hellip; <a href=\"http:\/\/pchero21.com\/?p=2228\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[17],"tags":[128,131,272],"_links":{"self":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts\/2228"}],"collection":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2228"}],"version-history":[{"count":0,"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts\/2228\/revisions"}],"wp:attachment":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2228"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}