PDA

View Full Version : Can I use PHP to update prices on html page?



georgie_b
10-02-2008, 09:22 PM
Hi,

I'm a complete novice to this, so I'm sorry if this is a daft question.

I'm trying to build a page for a friend which has prices on it - which he wants to change and has no html experience. Is it possible for me to use text files for the prices and use php to pull the prices in from there so he just has to change the txt files?

If anyone can let me know if this is something you can do - I'll start investigating further. But I thought I should ask the experts in case I've got the wrong idea entirely! :)

BabblingIdjit
10-02-2008, 09:56 PM
Yes, this is definitely possible.

Depending on how many prices the site will have, you may want to consider using a database. But, in any event, a text file will work.

You will need to look into the php file handling functions.