The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Programming question: by MajorG172004-01-15 10:19:30
  add delimiters or html tags when you write the by tzulah 2004-01-15 11:09:31
output.

As tigermouse says, Excel imports delimited text files quite nicely. It doesn't have to be tab delimited either - it can be any character, but I recommend you choose a character that will not appear anywhere in your data (the caret ^ often works nicely for me). For example, if you wanted a table of food types, the text file might look like this:

Fruits^Breads^Meats
Apples^Brown^Beef
Oranges^Italian^Chicken
Bananas^Foccacia^Pork

Or if you want it in html format, just add the <table>, <tr>, <td> tags around the fields as you write the output. Add <html> and <body> tags, change the extension to .html, and tada - you have a table on a webpage.
[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)