Scriptcraft – Writing text in PHP [FIXED]

[SHID] Belgrade
Joined 23/07/2020
Posts 11,931
05:14 AM 20/09/2020
NOTE: As you may have noticed. The code markdown text is broken for good. Here is a remake of what I was trying to do! Sorry for the inconvience.


<?php
echo "This was written in PHP!"
?>

You see that above this text? That's an example of how to write text in PHP!

<?php
echo"This is a paragraph"
echo"<br>This is another paragraph"
?>

Above me is what you would do to make a PHP paragraph. Always include the "<br" syntax if you want to make a paragraph.
You can also write them like:

Sentence:
<?php
$str = "This was written in PHP!";
echo $str;
?>

Paragraphs:
<?php
$str1 = "This is a paragraph";
$str2 = "<br>This is another paragraph"
echo $str;
echo $str;
?>

I hope you enjoy this fixed tutorial.


Thiqq
Joined 15/06/2020
Posts 143,653
05:15 AM 20/09/2020
[ Content Removed ]


[SHID] Belgrade
Joined 23/07/2020
Posts 11,931
05:16 AM 20/09/2020
Quote from Thiqq , 05:15 AM 20/09/2020
[ Content Removed ]
yay!

1