0

what is the use of dot(.) e.g. ."phpfile" anyone?

14th Nov 2016, 11:28 AM
Renz Badidles
Renz Badidles - avatar
5 Réponses
+ 2
. - (dot) might be used for adding items for example: $yourName = "John"; echo "My name is ".$yourName; //prints out "My name is John"
20th Nov 2016, 12:45 AM
AdamDom
+ 1
If I understand your problem, It is just a extention of PHP like .php. In java it is .java, in c++ it is .CPP. else if you are asking about . in echo or a string. It is just use to separate PHP variable with constant string like echo "Hello Renz ".$id where $id can be any variable. else I am wrong with both please explain your problem with bit example.
14th Nov 2016, 11:35 AM
Aditya kumar pandey
Aditya kumar pandey - avatar
0
php
16th Nov 2016, 4:05 AM
Harshad sunil gadhave
0
thanks
16th Nov 2016, 7:41 AM
Renz Badidles
Renz Badidles - avatar
0
php
20th Nov 2016, 3:18 AM
Harshad sunil gadhave