This is a discussion on "simple file upload?" within the PHP Forum section. This forum, and the thread "simple file upload? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
simple file upload?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
simple file upload?
Read this in a previous thread:
"A more long winded way would be to set-up your database structure in MySQL, dump the data from Access as a CSV file, then upload the CSV file into MySQl." I have the structure set up (by oscommerce) and need to load my data. Managed it once, but then tried to change something and it all went wrong so I started again. What I want to do is upload each field within my table individually from a saved file from excell in csv format.(is this the correct format to use?) For example if the table included name image and price, and the prices increased by 10% then I could make the changes in excell and then upload all and ony "price" records to the db. I don't have a need to learn php/sql at the moment so would like to use phpmyadmin. I have tried to do this and can upload one set of records, but when I try to upload to a different field the records start from the last previosley entered record.ie upload name 1-100 then the prices would start at 101? Thanx in advance James |
|
|
|
#2
|
|||
|
|||
|
Re: simple file upload?
you cant upload and insert it one column at a time and i dont think its possible to update a row from a data import. is there any reason why you cant do all the columns in one go?
|
|
#3
|
|||
|
|||
|
Re: simple file upload?
You need to get yourself a copy of SQLyog. I use this to manage my databases and it's absolutely brilliant.
http://webyog.com/ You'll be amazed at what you can do with this tool. As you are going to be running this on your own machine, you will need to get your hosting provider to give you remote access but that shouldn't be a problem. You can update single columns and you have control over whether to append or update existing, etc, etc. |
|
#4
|
|||
|
|||
|
Re: simple file upload?
Thanx for the info,
I have sqlylog but didn't use because of the remote access so I shall contact the hosting providor to enable this. Or from izone reply I could craete and update the table in excell and upload all in one go. Thanx James |
![]() |
| Tags |
| simple, file, upload |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP+SQL+File Upload | joshlindem | PHP Forum | 5 | May 10th, 2008 16:48 |
| file upload | berry05 | Job Opportunities | 0 | Mar 19th, 2008 19:09 |
| File Upload | magiccupcake | PHP Forum | 1 | Jan 22nd, 2007 05:10 |
| File upload problem | scoper | ASP.NET Forum | 0 | Oct 10th, 2006 02:34 |
| File upload | djme | PHP Forum | 4 | Jan 11th, 2006 18:25 |