Notice
Recent Posts
Recent Comments
Link
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
Tags
- JS #ํ๋ก์ ํธ
- await
- promise
- database
- mysql
- object
- eport
- ๋น๋๊ธฐ
- addEventListener
- execCommand
- webpack
- Import
- https://youtube.com/playlist?list=PLuHgQVnccGMA5836CvWfieEQy0T0ov6Jh&si=FTaYv8m21EhO-A2K
- async
- https://m.blog.naver.com/tt2t2am1118/221010125300
- slow and steady
- prj
- ์ฐธ๊ณ ๋ธ๋ก๊ทธ
- Porject
- db
- json
- sql
- callback
- ajax
- ๊ฒ์
- ๋๊ธฐ
- js
- ํผํ
- setTimeout()
- Project
Archives
- Today
- Total
C-log
๐์น์ฌ์ดํธ์ ๋นํ์ธ๋ PHP : ํจ์์ ์ฌ์ฉ ๋ณธ๋ฌธ
728x90
YouTube Link | |
WEB2-PHP-8.1.แแ กแทแแ ฎแแ ด แแ กแแ ญแผ | |
https://youtu.be/IIU4mypKLlw?si=ct1Kp2TFQBlaIbeH |
php์์ ํจ์๋ฅผ ์ฌ์ฉํด์ ๊ธฐ๋ฅ์ ๊ตฌํ ํด๋ณธ๋ค. ์ฌ๊ธฐ์ sterlen()๊ณผ nl2br()ํจ์๋ฅผ ์ฌ์ฉํ๋ค. ์๋ ์ฝ๋์ ๊ฒฐ๊ณผ๋ฅผ ๋ณด์
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>function</h1>
<?php
$str = "Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Beatae totam impedit corporis, sapiente omnis ut amet, porro explicabo nobis reprehenderit odio perferendis cumque. Facilis nostrum, dolor reprehenderit eligendi officia exercitationem!";
echo $str;
?>
<h2>strlen()</h2>
<?php
echo strlen($str);
?>
<h2>nl2br</h2>
<?php
echo nl2br($str);
?>
</body>
</html>
728x90
'DB > ๐PHP' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
๐์น์ฌ์ดํธ์ ๋นํ์ธ๋ PHP : Boolean๊ณผ ๋น๊ต ์ฐ์ฐ์ (0) | 2023.09.04 |
---|---|
๐์น์ฌ์ดํธ์ ๋นํ์ธ๋ PHP : ํจ์์ ํ์ฉ (0) | 2023.09.04 |
๐์น์ฌ์ดํธ์ ๋นํ์ธ๋ PHP : URL ํ๋ผ๋ฏธํฐ์ ํ์ฉ (0) | 2023.09.03 |
๐์น์ฌ์ดํธ์ ๋นํ์ธ๋ PHP : ๋ณ์ (0) | 2023.09.03 |
๐์น์ฌ์ดํธ์ ๋นํ์ธ๋ PHP : ๋ณ์ (0) | 2023.09.03 |
Comments