[Web4lib] incorporating a table complete with HTML tags into a web
enabled database
John Fitzgibbon
jfitzgibbon at Galwaylibrary.ie
Wed Mar 11 10:16:04 EDT 2009
Hi,
We have a database of place names. All records consist of a place name, a description and a situation field. A very small minority of records also have a table. The table can be on any topic. The table-headings and number of table-columns vary greatly from record to record.
How should I incorporate these tables into my database?
The best I can come up with is to put the table in an additional field complete with HTML tags and table contents. I use an HTMLEncode function on the other fields when I output them to HTML. Obviously, I would have to avoid doing this with this particular field but that would not be a problem.
This approach seems to be such a terrible kludge that I can't help thinking that there must be a more elegant solution.
I would welcome any advice and suggestions.
Regards,
John
John Fitzgibbon
w: www.galwaylibrary.ie
e: info at galwaylibrary.ie
p: 00 353 91 562471
f: 00 353 91 565039
#####################################################################################
This e-mail message has been scanned for content and cleared
by MailMarshal Hosted at Galway County Council
Tá an teachtaireacht ríomhphoist seo scanáilte dÁbhar agus glanta
ag MailMarshal atá Óstálta i gComhairle Chontae na Gaillimhe.
Correspondance is welcome in Irish or in English.
Tá míle fáilte roimh chomhfhreagras i nGaeilge nó i mBéarla.
Tá eolas atá príobháideach agus rúnda sa ríomhphost seo
agus aon iatán a ghabhann leis agus is leis an duine/na daoine
sin amháin a bhfuil siad seolta chucu a bhaineann siad.
Mura seolaí thú, níl tú údaraithe an ríomhphost nó aon iatán
a ghabhann leis a léamh, a chóipáil ná a úsáid.
Má tá an ríomhphost seo faighte agat trí dhearmad,
cuir an seoltóir ar an eolas thrí aischur ríomhphoist
agus scrios ansin é le do thoil.
This e-mail and any attachment contains information which is
private and confidential and is intended for the addressee
only. If you are not an addressee, you are not authorised
to read, copy or use the e-mail or any attachment.
If you have received this e-mail in error, please notify
the sender by return e-mail and then destroy it.
If you need this email in an alternative format please contact the sender
Má tá an ríomhphost seo ag teastáil uait i bhformáid eile déan teagmháil leis an duine a sheol chugat é
#####################################################################################
More information about the Web4lib
mailing list