View Full Version : Need some advice..
Luno1599
27-01-2008, 06:49 PM
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
DarrenToogood
27-01-2008, 06:50 PM
He should have some sort of database on his hosting, i.e MySQL.
Invent
27-01-2008, 06:52 PM
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.
L!nK..
27-01-2008, 07:00 PM
Not all hosts provide SQL Databasees Darren, being a host I thought you'd know that :rolleyes:.
Come on Simon, you know darren.
Luno1599
27-01-2008, 07:02 PM
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.
Pazza
27-01-2008, 07:02 PM
www.freesql.org
www.freemysql.net
?
Luno1599
27-01-2008, 07:04 PM
If you going to have many things separated with ~ I would recommend using split and a for loop.
Can you explain more please.
www.freesql.org (http://www.freesql.org)
www.freemysql.net (http://www.freemysql.net)
?
Thanks but I and him would rather have it on his server
Pazza
27-01-2008, 07:06 PM
Oh kay,
I tried :(
Luno1599
27-01-2008, 07:07 PM
lol +rep tho
Pazza
27-01-2008, 07:08 PM
Returned :)
Ehm, yeah just try and do what everybody else does, or see if he can upgrade hosting?
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.