Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
ini database format for non config database
Old 06-25-2006, 01:00 PM ini database format for non config database
phil_a41's Avatar
Junior Talker

Posts: 3
Name: Phill
Trades: 0
Hi im making a simple calender script that needs to use a flat file database and i just want to know what your opinions are about storing the data in ini file format to use the parse_ini_file() funtion to grab the data and put it in an array.

The array format is how i want it to be in as i can then just call the information for the week wanted.

So in short the question is "is it ok to use a ini file format in a text file for a non configeration file or is it better to store the data in csv format and put it into arrays myself?"


(example of the ini format database im using.)
[20060527]
date=27th May 2006
price=555
sat=a
sun=a
mon=a
tue=a
wed=a
thu=a
fri=a

[20060603]
date=3rd Jun 2006
price=555
sat=b
sun=b
mon=b
tue=b
wed=b
thu=b
fri=s
phil_a41 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-01-2006, 02:35 PM Re: ini database format for non config database
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
Using a CSV format would provide more compatibility with other applications such as spreadsheets.
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to ini database format for non config database
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.52487 seconds with 12 queries