phatmambo Posted November 8, 2010 Share Posted November 8, 2010 I am creating a site to display some products. For ease of updating I want it to run off a MySQL database. I have created the database and php scripts to output and input data etc. I know want to show that data in my web pages. My question is.... Is it best to insert HTML into the php output script to display the information and make the site look how I want....OR ....... should I create a template of the site in HTML and then somehow call the php output script (and the particular row of the database...) Basically... should I put the html code into the php - OR - put the php into the HTML?? I hope this make sense...... thanks Quote Link to comment https://forums.phpfreaks.com/topic/218100-advice-needed-for-newbie-shop-catalogue-site-running-off-mysql/ Share on other sites More sharing options...
grlayouts Posted November 8, 2010 Share Posted November 8, 2010 doesn't really matter, it's easier to make the php script then echo the html eg echo'<html>'; echo'<head>'; Quote Link to comment https://forums.phpfreaks.com/topic/218100-advice-needed-for-newbie-shop-catalogue-site-running-off-mysql/#findComment-1131738 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.