Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   question php (https://www.warriorforum.com/programming/1077382-question-php.html)

TAHERSYED34 24th May 2015 09:13 AM

question php
 
with php programming; that is all done for the backend of a website such as in wordpress

in contrast to html doing everything on the frontend such as how the webpage is displayed? would this be accurate?

Member8200 28th May 2015 02:50 AM

Re: question php
 
YES, HTML and CSS is used to create the "FRONTEND", HTML and CSS is the major components in creating the web designs. PHP Scripts is used to Create the "BACKEND" were the functions of the website is created.

David Beroff 28th May 2015 07:11 AM

Re: question php
 
In a very general sense, yes. In practice, it's not as concrete as that; one tends to use the tools that are most appropriate for the immediate task at hand.

For example, here's some code I wrote today for my investment firm client. It's mostly PHP, but it "jumps" into HTML to output the h1, h2, table, etc. The outer loop displays an h2 for each account, and the inner loop displays a tr for each transaction. Then the HTML "jumps back" to PHP for the actual values to display, such as $row["FullName"], and so on.

http://ic.pics.livejournal.com/d4b/2...9_original.png

(I posted a graphic because WF won't let me post the actual code for some odd reason.)


All times are GMT -6. The time now is 06:27 PM.