Need a geek? Geeks to Go offers free, quality tech support -- in terms anyone can understand. Volunteers are waiting to help, friendly, technology experts who have knowledge to share, and enjoy helping others. Feel free to browse the site as a guest. However, you must log in to reply to existing topics, or to start a new topic of your own. Other benefits of joining include richer forum features, and removal of all advertising. Learn more in our Welcome Guide Infected? Malware and Spyware Cleaning Guide. What are you waiting for? Click here to join for free today!
 
Reply to this topicStart new topic
PHP/MySql generate pages?
outatime
post Oct 2 2009, 02:01 PM
Post #1


New Member
*
Posts: 2
OS: Windows XP



I've been away from web design for a while. But I have a database of products that I want to display. But with PHP/MySql isn't there a way to make the pages generate themselves instead of having to make each page individually, and adding the mysql code to pull the data from the database? I can't remember if there is a way to do this. If so can anyone point me to a tutorial or something? Thanks.
Go to the top of the page
 
+Quote Post
amw_drizz
post Oct 24 2009, 02:22 AM
Post #2


Member
***
Posts: 202
From: Hebron, NY
OS: Mac OS X 10.4.7, Mac OS X 10.5.2, Mac OS 9, Windows 7 RTM, Windows Vista HP, 2003 Server Ent, All XP Versions, All 2000 Versions, ME, ALL 98 Versions, ALL 95 Versions, ALL NT Versions, 3.11, dos



I don't know of any tutorials off hand that will do what your looking for per say. How complicated are you looking at making it? Just a pop up with an image, product name, sku, description and close or a fancy interface with a lot of data?

Either way your going to be looking for a template engine in php to handle the dynamic to static alot easier (ie one page for product info, another for a product list)

Another way to do it (could be more code) is just to have php generate each page individually from the db with out it replacing anything.

And the last way that I can think of right now, is just to use static variables and assign your db values to the static to use in a template then overwrite the template with the db vars.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies / Views Topic Information
No new 15 / 1,359 3rd March 2006 - 08:06 AM
jrm-hosting started - last by jrm-hosting
No New Posts   0 / 398 7th March 2008 - 09:38 AM
johnykit started - last by johnykit
No New Posts   3 / 585 30th June 2008 - 06:28 PM
gmanpopinjay started - last by Sp0nge
No New Posts   1 / 440 9th July 2009 - 03:45 AM
hirow started - last by koryo

RSS Time is now: 21st November 2009 - 08:02 AM

Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk. All trademarks mentioned on this page are the property of their respective owners.

© Geeks to Go, Inc. | All Rights Reserved | Privacy Policy | Advertising