|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Need Suggestion For Profiles
I'm creating a wrestling site and along with it comes wrestler's biographies. If I start out with just listing Name, Age, Birthplace and get 50 bios done that way and want to add a new section for Titles Held, I don't want to go through all 50 and add 'Titles Held' to them. What's the best way to edit just one thing and have it added to all of the bios?
|
|
#2
|
|||
|
|||
|
RE: Need Suggestion For Profiles
Is the information about the wrestlers stored in a db? Is the page that shows the wrestlers bio a static html file or generated via PHP?
|
|
#3
|
|||
|
|||
|
RE: Need Suggestion For Profiles
i would suggest making a class "wrestlers" and handling the bios in there. then include/require your class into all 50 pages, and you'll only need to update the one class you're including to decide how to display your new bio sections. yah.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Need Suggestion For Profiles |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|