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 |
Tags
- html
- DoM
- data structure
- php
- react
- mysql
- python
- computer
- MacOS
- Algorithm
- DS
- XML
- CSS
- while
- control
- instruction
- Linux
- MIPS
- system
- javascript
- Java
- DATAPATH
- web
- function
- for
- architecture
- Class
- github
- DB
- Pipelining
Archives
- Today
- Total
YYYEJI
[PHP] 문자열 합치기 (String concatenation) 본문
728x90
PHP에서 문자열을 합칠 때에는 .(dot), ,(comma)를 사용합니다.
<!EOCTYPE html>
<body>
<h1>My first PHP page</h1>
<?php
echo "Hello ", "world! <br>";
echo "Hello ". "world!";
?>
</body>
◡̈
'HTML(or XML) & CSS & JavaScript' 카테고리의 다른 글
[PHP] Class 만들기 (0) | 2022.12.12 |
---|---|
[PHP] PHP 변수 type 확인 (0) | 2022.12.12 |
[PHP] PHP 변수의 Scope (0) | 2022.12.12 |
[PHP] PHP 출력문 (0) | 2022.12.12 |
[HTML] Table 열, 행 merge 시키는 태그 (0) | 2022.11.12 |