![]() |
Is there are script that can do this?
I have currently been developing a website that requires an enormous amount of data to by inputed into a data base. I am currently manually exporting data from a notepad document into my database. This is taking up way too much time having to type everything.
Is there a script out there that can export data from a notepad document into the websites database. My website is written in php. If there isn't a script that does this, is there anyone who could make one?:thumbsup |
Quote:
bump....is phpmyadmin the best way to go? |
There's a way, yes.. I'm not sure on the specifics, but if you ftp the notepad .txt to your server, you can via phpmyadmin import it into tables
|
Depends on the format. If it's native SQL, or hand-edited CSV, sure, that's easy.
If you just want to dump a whole blob into a table, it's easiest to do with a throwaway PHP script: Code:
<?php |
To append to the above (edit timer ran out): I could likely make what you need if you could tell me what you want, or offered a dbschema (what you're dumping, where). Depending on complexibility, most of the work is already done above.
|
Quote:
|
Quote:
|
| All times are GMT -7. The time now is 02:04 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123