HighDots Forums  

Importing text file into table?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Importing text file into table? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Steve Grosz
 
Posts: n/a

Default Importing text file into table? - 11-11-2004 , 05:18 PM






What I am wanting to do is have a text file that a user can upload to my
server, and assign it to be displayed in a table column, formatted by CSS.

What's the easiest way to accomplish this?

Thanks!
Steve

Reply With Quote
  #2  
Old   
Pablo
 
Posts: n/a

Default Re: Importing text file into table? - 11-11-2004 , 05:25 PM






asp is simple


"Steve Grosz" <boise_bound (AT) hotmail (DOT) com> a écrit dans le message de news:
cn0og1$f7a$1 (AT) forums (DOT) macromedia.com...
Quote:
What I am wanting to do is have a text file that a user can upload to my
server, and assign it to be displayed in a table column, formatted by CSS.

What's the easiest way to accomplish this?

Thanks!
Steve



Reply With Quote
  #3  
Old   
towcan's
 
Posts: n/a

Default Re: Importing text file into table? - 11-11-2004 , 05:28 PM



go on then give him a few hints as to how to start or what to do,

twocan's


"Pablo" <dell (AT) takeoutdellwebsites (DOT) com> wrote

Quote:
asp is simple


"Steve Grosz" <boise_bound (AT) hotmail (DOT) com> a écrit dans le message de news:
cn0og1$f7a$1 (AT) forums (DOT) macromedia.com...
What I am wanting to do is have a text file that a user can upload to my
server, and assign it to be displayed in a table column, formatted by
CSS.

What's the easiest way to accomplish this?

Thanks!
Steve





Reply With Quote
  #4  
Old   
Joe Makowiec
 
Posts: n/a

Default Re: Importing text file into table? - 11-11-2004 , 05:32 PM



On Thu 11 Nov 2004 05:18:41p, Steve Grosz wrote in
macromedia.dreamweaver:

Quote:
What I am wanting to do is have a text file that a user can upload to
my server, and assign it to be displayed in a table column, formatted
by CSS.

What's the easiest way to accomplish this?
You'll need some sort of serverside script. What kind of host are you on?
What serverside scripting do you have available?


Reply With Quote
  #5  
Old   
Steve Grosz
 
Posts: n/a

Default Re: Importing text file into table? - 11-11-2004 , 05:32 PM



Is ASP needed at all?

Pablo wrote:
Quote:
asp is simple


"Steve Grosz" <boise_bound (AT) hotmail (DOT) com> a écrit dans le message de news:
cn0og1$f7a$1 (AT) forums (DOT) macromedia.com...

What I am wanting to do is have a text file that a user can upload to my
server, and assign it to be displayed in a table column, formatted by CSS.

What's the easiest way to accomplish this?

Thanks!
Steve




Reply With Quote
  #6  
Old   
Steve Grosz
 
Posts: n/a

Default Re: Importing text file into table? - 11-11-2004 , 05:40 PM



Joe Makowiec wrote:
Quote:
On Thu 11 Nov 2004 05:18:41p, Steve Grosz wrote in
macromedia.dreamweaver:


What I am wanting to do is have a text file that a user can upload to
my server, and assign it to be displayed in a table column, formatted
by CSS.

What's the easiest way to accomplish this?


You'll need some sort of serverside script. What kind of host are you on?
What serverside scripting do you have available?
I'm on IIS, so VBscript, and ASP should be available


Reply With Quote
  #7  
Old   
Pablo
 
Posts: n/a

Default Re: Importing text file into table? - 11-11-2004 , 05:48 PM



Well basically if you press F1 in dreamweaver and do a search for "update
record" it will give you all the information you need.

Just make sure that your css in place and that's it.

Quote:
go on then give him a few hints as to how to start or what to do,

Listen mate, I have spent many hours on my pc going through the tuts that
come shipped with DW, I have also spent many hours on various sites to learn
particular stuff, it is impossible for me or anyone else to reply to the
persons question correctly without having to write a complete tutorial that
would take fuc..... ages. F1 is a wonderful key and if you follow the
guidelines you will learn so much, if you have a hiccup on the way then that
is when you need to post to the forum. If some chap cannot press F1 then he
has no place here, there or anywhere.

Kind regards

Paul




"towcan's" <willywaver (AT) hotmail (DOT) com> a écrit dans le message de news:
cn0p3g$g1f$1 (AT) forums (DOT) macromedia.com...
Quote:
go on then give him a few hints as to how to start or what to do,

twocan's


"Pablo" <dell (AT) takeoutdellwebsites (DOT) com> wrote in message
news:cn0osm$foi$1 (AT) forums (DOT) macromedia.com...
asp is simple


"Steve Grosz" <boise_bound (AT) hotmail (DOT) com> a écrit dans le message de news:
cn0og1$f7a$1 (AT) forums (DOT) macromedia.com...
What I am wanting to do is have a text file that a user can upload to
my
server, and assign it to be displayed in a table column, formatted by
CSS.

What's the easiest way to accomplish this?

Thanks!
Steve







Reply With Quote
  #8  
Old   
Pablo
 
Posts: n/a

Default Re: Importing text file into table? - 11-11-2004 , 05:50 PM



Hi Steve

You need to connect to a database, do you know how to do this?




"Steve Grosz" <boise_bound (AT) hotmail (DOT) com> a écrit dans le message de news:
cn0pph$glg$1 (AT) forums (DOT) macromedia.com...
Quote:
Joe Makowiec wrote:
On Thu 11 Nov 2004 05:18:41p, Steve Grosz wrote in
macromedia.dreamweaver:


What I am wanting to do is have a text file that a user can upload to
my server, and assign it to be displayed in a table column, formatted
by CSS.

What's the easiest way to accomplish this?


You'll need some sort of serverside script. What kind of host are you
on?
What serverside scripting do you have available?

I'm on IIS, so VBscript, and ASP should be available



Reply With Quote
  #9  
Old   
Joe Makowiec
 
Posts: n/a

Default Re: Importing text file into table? - 11-11-2004 , 06:00 PM



On Thu 11 Nov 2004 05:50:43p, Pablo wrote in macromedia.dreamweaver:

Quote:
You need to connect to a database, do you know how to do this?
Not to read in and parse a CSV file, if the file is as he wants it.
Something like (pseudocode):

<table>
<%
open myfile.csv
while (not EOF myfile.csv)
read a line
split line at commas
write "<tr><td>" & item1 & "</td><td>" & item2 ... & "</td></tr>"
end while
close myfile.csv
%>
</table>

If the file needs further processing (sorting, say) then the OP would need
a database.


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.