Hi
I am doing someones website but he has alot of products but he dosent have SQL batabases, so can i use a text file and like explode the content when use that as like a database?
Danny
Printable View
Hi
I am doing someones website but he has alot of products but he dosent have SQL batabases, so can i use a text file and like explode the content when use that as like a database?
Danny
He should have some sort of database on his hosting, i.e MySQL.
Not all hosts provide SQL Databasees Darren, being a host I thought you'd know that :rolleyes:.
It would cost a host less to not include databases. It looks like flat files is the only way, unless you host the SQL databases on another host.
Can you not just make a .txt file and have summin like
id ~ Name ~ Discription ~ ImageURL ~ Price //
id ~ Name ~ Discription ~ ImageURL ~ Price
if you get me then use the php explode function to brake it up?
Dan
If you going to have many things separated with ~ I would recommend using split and a for loop.
Oh kay,
I tried :(