PDA

View Full Version : Content Management


rareexc
07-09-2002, 05:28 PM
Help! PHP is a mystery to me and I spent alot of time learning .asp since it worked on my old ISP. I have one simple dilemma that needs one simple solution:
Being able to provide the same directory menu on everyone of my hundreds of pages

asp did it through an include that easily allowed me to update one document that held the menu that was pulled into every page for automatic updates

I can't figure out PHP with the sql database issues.

Anyone know of another way to do this? Javascript?? I know Amazon uses a javascript to allow affiliates to pull content onto pages

Thanks alot!!

Paul

superunison
07-15-2002, 08:17 AM
the equivalent command in PHP to what you're used to doing in ASP is the following:
<? include(dir/filename.ext); ?>

http://php.net for documentation.
i learned ASP first, and cannot express how much MORE i like PHP. it's probably my favorite language.
best of luck
chris

Darin
08-10-2002, 05:18 PM
Like superunison said, check out http://www.php.net/. I would use require() if I were you. Read up on what the difference is at PHP.net.