what is <div> on php? | Sololearn: Learn to code for FREE!

+1

what is <div> on php?

8/17/2018 10:43:08 PM

Ralph Rigor Diaz

3 Answers

New Answer

+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.

+2

The same thing as <div> in Html

+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