+ 1
Concatenate the value from a String with a Variable in JS.
For you concatenate the value from a String with a Variable in JS/jQuery and PHP you can use this: JS/jQuery: <script type="text/javascript"> var age = 17; alert ("My Name is Rafael and my age is: " + age + "."); </script> PHP: <?php $age = 17; echo "My Name is Rafael and my age is: " . $age . "."; ?> Liked? Questions post in comments. 🙃
5 Respostas
+ 7
go make a lesson about it :)
https://www.sololearn.com/discuss/495615/?ref=app
+ 3
Okay, understood now. :) Keep up the good work bro.
+ 2
I'm confused. Are you just telling us or are you asking for help?
+ 1
I was saying. To help those who are starting.
0
Thank