This tutorial is ment for people who want to learn something about the PHP syntax. Its suitable for total newbies and and moderate scripters.
Variables: Variables in PHP are set by the $-char. <?PHP $variable1
<?PHP $variable1
<?
no it will just output: 123
well i put $text = "show the numbers" so when it is combinded with the + then would it not print out both?
you should use . instead of the +, then it'll :) so $var = "integer:" . "123"; echo $var;
ouput:
integer:123
well i wanted it to say show the number for comedy sense
would you explain that sentence, dont understand it :( remember english isnt my motherlanguage ( or however you call it :) )
I wanted to make it say show the numbers. So it would be funny
<?
no it will just output: 123
well i put $text = "show the numbers" so when it is combinded with the + then would it not print out both?
you should use . instead of the +, then it'll :)
so $var = "integer:" . "123";
echo $var;
ouput:
integer:123
well i wanted it to say show the number for comedy sense
would you explain that sentence, dont understand it :( remember english isnt my motherlanguage ( or however you call it :) )
I wanted to make it say show the numbers. So it would be funny