Jump to content

SQLite 3 - Importing .db file?


Recommended Posts

The topic title says it all - I have a .©db file (the c standing for cards, but that doesn't change the format) including a complex relationship of cards, their names and their associated images.


It is written in SQLite 3 dialect, which I happen to have installed on my PC and also can get it working, but I cannot import the file and work it, somehow.


How would I work on importing it?


Thanks in advance for any support.

Link to comment
Share on other sites

Generally everything, I have the components but I cannot quite properly figure out the format the file is in right now (I didn't write the file), I also never have used SQLite much...


I excuse if this sounds a bit... illiterate, but I haven't been able to access the internet properly in the course of the last three days so I couldn't quite look up the documentation for it.

Link to comment
Share on other sites

Yeah, I was in a hurry to get this finished at school, I'll try better next time.


However, both my localhost and my online host give me an error for an undefined function call whenever I try to use sqlite_open.

Link to comment
Share on other sites

I guess I tried using the sqlite3 extension, though I am not sure if I needed to install anything else on my localhost or on my PHP host, seeing as I am very limited with time lately.


Would PDO work without installing anything additional?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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.