Echo function | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Echo function

hello ! is there anyway To print an information from a method of a Controller using 'echo' function in the same HTML page where the method was called ? Thanks

25th Dec 2016, 8:30 AM
Mehdi Bouzidi
Mehdi Bouzidi - avatar
1 Answer
0
Considering that you use some MVC framework, you can pass a variable into your view script and print it from there in the needed place
5th Jan 2017, 4:47 PM
Rodion Abdurakhimov
Rodion Abdurakhimov - avatar