250x250
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Plugins
- html
- #java
- 스프링
- Spring
- IntelliJ
- #이클립스
- #Oracle
- 환경설정
- springboot
- CodeGlance
- 설정
- Like
- #자바
- Oracle
- 스프링부트
- 설치
- #eclipse
- mariadb
- Eclipse
- 오라클
- log4j2
- 플러그인
- 소스코드 맵
- #자바가상머신
- #오라클
- 이클립스
- 인텔리제이
- log4j
- #JVM
Archives
- Today
- Total
커피와 개발자
[MySQL API] mysql_escape_string() 본문
728x90
문장에 포함된 특수 문자를 escape 문자로 표시
【예제】
<html><body>
< ?
$item="Joe's Test";
$escaped_item=mysql_escape_string($item);
printf ("Escaped string: %s\n", $escaped_item);
? >
</body></html>
【예제】
<html><body>
< ?
$item="Joe's Test";
$escaped_item=mysql_escape_string($item);
printf ("Escaped string: %s\n", $escaped_item);
? >
</body></html>
728x90
'데이터베이스 > SQL' 카테고리의 다른 글
[MySQL API] mysql_fetch_assoc() (0) | 2011.03.03 |
---|---|
[MySQL API] mysql_fetch_array() (0) | 2011.03.03 |
[MySQL API] mysql_error() (0) | 2011.03.03 |
[MySQL API] mysql_errno() (0) | 2011.03.03 |
[MySQL API] mysql_drop_db() (0) | 2011.03.03 |
Comments