Jump to content

Reading prices info from a file


Meeker

Recommended Posts

Hi,

 

I want have product price info displayed on many htm files. I want to have a centralised way of updating these prices via php. My idea is to have all the prices stored in one data file.  A small php snippet of code will find a variable name in the data file and then call the corresponding value from it.

 

I have done some research and am struggling to find a solution. I want to be able to call the values through by a name not by a line number.

 

Any help much appreciated. Cheers, Meeker

Link to comment
https://forums.phpfreaks.com/topic/136061-reading-prices-info-from-a-file/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.