Stap 1:
Om te beginnen moet je eerst boven aan zetten dit
Stap2:
om nu iets neer te zetten wat je later op kan roepen dat doe je dus zo
als het goed is heb je nu dit
Stap3:
Oke we gaan verder we roepen het nu op vanuit een echo
echo Ik vind .$txt. heel erg leuk
;
Als het goed is heb je nu dit
Stap 4:
Nu sluit je het af met ?>
dus heb je dit nu:
Wat die nu weergeeft is dit
Ik vind habbo heel erg leuk
ik vind habbo stom.
Om te beginnen moet je eerst boven aan zetten dit
<?php Stap2:
om nu iets neer te zetten wat je later op kan roepen dat doe je dus zo
$txt = Habbo; als het goed is heb je nu dit
[COLOR= #0000BB]<?php
$txt[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Habbo[/COLOR][COLOR= #007700];[/COLOR] Stap3:
Oke we gaan verder we roepen het nu op vanuit een echo
echo Ik vind .$txt. heel erg leuk
;
Als het goed is heb je nu dit
[COLOR= #0000BB]<?php
$txt[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Habbo[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Ik vind [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$txt[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000] heel erg leuk<br />[/COLOR][COLOR= #007700];[/COLOR] Stap 4:
Nu sluit je het af met ?>
dus heb je dit nu:
[COLOR= #0000BB]<?php
$txt[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Habbo[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Ik vind [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$txt[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000] heel erg leuk<br />[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Ik vind [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$txt[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000] stom[/COLOR][COLOR= #007700];[/COLOR]
?> Wat die nu weergeeft is dit
Ik vind habbo heel erg leuk
ik vind habbo stom.
Je kan ook meer dan twee variables in een echo doen 


