simple file upload?

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.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old May 18th, 2006, 19:11
New Member
Join Date: May 2006
Location: UK,Birmingham
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old May 19th, 2006, 10:16
Up'n'Coming Member
Join Date: Nov 2005
Location: England
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old May 19th, 2006, 11:30
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old May 19th, 2006, 18:27
New Member
Join Date: May 2006
Location: UK,Birmingham
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
simple, file, upload

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 19:58.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved