Showing out put error plese help me ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Showing out put error plese help me ?

Hi friends. i have learn php basic . but i got small dout . that dout are i will try solve some output but showing error that qustion is bellow see <?php $p= vinay ; $v= kumar ; echo ($p $v ); ?> the out put showing error , what the error ? plese help me and resolve that sorce code. Thanks for reading qustion good bye...

27th Aug 2016, 4:06 PM
vinay
vinay - avatar
4 Answers
+ 1
you should concate to get ur output using dot operator
27th Aug 2016, 7:41 PM
dinesh
dinesh - avatar
0
echo $p. $v; hope this helps
27th Aug 2016, 4:43 PM
Bibek Karki
Bibek Karki - avatar
0
follow the standards make a string in quotes double or single and concat using the dot (.) operator. happy coding 😊
27th Aug 2016, 6:30 PM
Mohammed Irfan
Mohammed Irfan - avatar
0
you should do this $p="vinay";
27th Aug 2016, 8:02 PM
john chagaz
john chagaz - avatar