<?php
?>
<?
?>
echo "Text You Want To Print Here";
print "Text You Want To Print Here";
$variable = "This is";
$variable1 = " a Variable";
echo $variable . $variable1;
$variable = "This is";
$variable1 = " a Variable";
echo "{$variable}{$variable1}";
$variable = "This is";
$variable1 = $variable . " a Variable";
echo $variable1;
$variable = "This is";
$variable1 = $variable . " a Variable";
echo "{$variable1}";
$variable = "This is";
$variable. = "a variable";
echo $variable;
someguy123 said:Don't forget about:
PHP:$variable = "This is"; $variable. = "a variable"; echo $variable;
Nom Nom said:Well, you should have used comments. Some people won't understand that . means concatenation
ness said:Nom Nom said:Well, you should have used comments. Some people won't understand that . means concatenation
Exactly. Comments are a vital part of programming, no matter what language. Also, you are failing at PHP because you said you are using functions. There are two reasons why this is wrong. For one, echo and print are keywords. Not functions. And second, you are delving into functions after learning to start a script? Without going through comments or how to set up PHP? So if you choose to deny my first fact, you will be owned by your failure at teaching.
Ruben; dont make tutorials when you hardly know PHP yourself. You always ask anthony and others for help, so stop, learn and then write.
echo() is not actually a function (it is a language construct), so you are not required to use parentheses with it.
Nom Nom said:Um, no it's not a function.
I quote from php.net
echo() is not actually a function (it is a language construct), so you are not required to use parentheses with it.
Note: Because this is a language construct and not a function, it cannot be called using variable functions
ness said:Nom Nom said:Um, no it's not a function.
I quote from php.net
echo() is not actually a function (it is a language construct), so you are not required to use parentheses with it.
Thankyou. Now i don't have to. And no ruben i am not a troll, but i am anonymous. I know Angel through disclosed means, i know you through disclosed means. You do not know enough PHP to try and teach.
And another quote from PHP.net:
Note: Because this is a language construct and not a function, it cannot be called using variable functions
It would seem that whenever somebody proves you right, you make up lies about that person. You also are epically failing at laying out your thread as well as grammar. Its hard to learn with bad English.
TWiSTA said:That's good that you admit you're wrong, But being wrong is alright.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?