PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 10th, 2002, 06:21 PM
CopeLand CopeLand is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Toronto
Posts: 40 CopeLand User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 17
best way to make a php faq page

hi everyone. i have to make an faq page for our company that lists pricing policies, shipping costs, etc...they want it in a database with php and mysql so its dynamic. does anyone know the best way to go about this?

basically there would be a question, answer, related link and maybe an image for each question. it can't be too resource intensive though coz it will be viewed by about 8,000 people a day.

does anyone have any idea where i should start?
__________________
i am cope. i drink coke. i am in hope.i am cope. i drink coke. i am in hope.i am cope. i drink coke. i am in hope.

Reply With Quote
  #2  
Old April 10th, 2002, 11:09 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
If i was going to do something like that i would use 2 tables, on for each different topic and another for the question/answer. That would probally be the best way to do it.
heres a simple structure of the databases

table Name: topic - with the following fields

section_id
section_name

table name: que_ans
id
section_id
question
answer
related link
image

using that very basic layout you could easly create a dynamic FAQ

Reply With Quote
  #3  
Old April 12th, 2002, 12:57 PM
wAr-AnGeL wAr-AnGeL is offline
Forum Security
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Behind You
Posts: 479 wAr-AnGeL User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 50 sec
Reputation Power: 17
Send a message via ICQ to wAr-AnGeL Send a message via AIM to wAr-AnGeL
Quote:
Originally posted by Ben Rowe
If i was going to do something like that i would use 2 tables, on for each different topic and another for the question/answer. That would probally be the best way to do it.
heres a simple structure of the databases


let me see if i understand this . Each topic will have 2 tables?
__________________




"Only Linux users see the end of crashes."
- Pl4t0

Reply With Quote
  #4  
Old April 12th, 2002, 06:38 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
the first table would contain all the different sections, eg, shipping, etc the other table would contain the Q/A

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > best way to make a php faq page


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap