what is <div> on php? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what is <div> on php?

17th Aug 2018, 10:43 PM
Ralph Rigor Diaz
Ralph Rigor Diaz - avatar
3 Answers
+ 3
PHP just passes through HTML like a big echo(), i.e., it ignores it. So...the <div> is just going to be HTML unprocessed by PHP. For examples, you can generate a full template as Vincent Berger has done (these might be sections saved in a database), or send an HTML file having little spots of PHP: https://www.sololearn.com/Discuss/1453627 In either case the HTML is not processed by PHP; it's just echoed text.
18th Aug 2018, 12:48 AM
Kirk Schafer
Kirk Schafer - avatar
+ 2
The same thing as <div> in Html
17th Aug 2018, 10:53 PM
Dlite
Dlite - avatar
+ 1
Hi Ralph Rigor Diaz, Take a look at this code, it shows you how to execute HTML, CSS and JS in PHP. Hope this will help you to understand more about a <div> in PHP.😆 https://code.sololearn.com/wo17mZq7SNJE/?ref=app
17th Aug 2018, 11:15 PM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar