12-11-2009, 11:15 PM
|
#2 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
Depending on the size of the database schema you are using, you could save yourself a tiny bit of overhead by simply hard coding it into the installation script (or even turning your sql dump into a big heredoc and require() or include() it). Alternatively you should look into PHPs file handling functions, such as file() or file_get_contents().
(I would have provided links to each function, but I'm in a hospitable room on a laptop and I hate laptops)
|
|
|
|