This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:web_development:media:javascript [2022/06/01 16:17] mag [PHP Variables] |
en:web_development:media:javascript [2023/08/16 09:33] (current) |
||
|---|---|---|---|
| Line 150: | Line 150: | ||
| * Variables in PHP are always represented by < | * Variables in PHP are always represented by < | ||
| * In this case, we have a variable named ' | * In this case, we have a variable named ' | ||
| - | * The code in ' | + | |
| + | |||
| + | < | ||
| + | $page = " | ||
| + | echo $page; | ||
| + | include(" | ||
| + | include(" | ||
| + | ?></ | ||
| + | |||
| + | * When you save, upload and run the code, you'll see the word ' | ||
| + | | ||
| * Now open ' | * Now open ' | ||
| < | < | ||