Re: Converting characters to numbers ...
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14839
interpreted = N
texte = >Ie Surname> First Name> Middle Name>>Now is there anyway that I can get this data via webcatalog to a database >where I can then>Assign each character of surname a number. These numbers then relate to a >font character>So that in theory when a user enters their name in the fields the page >when submitted will>Return a form that has all their details completely formatted in graphical >text and looking pretty.1. Create a graphic for each letter like A.gif a.gif B.gif b.gif and so on till you've got enough. Make sure you've got all text covered like '- or whatever accents you expect. Put all of your graphic files in a directory called fonts or whatever you want. 2. Use the following snippet:[loop start=1&end=[CountChars][surname][/CountChars]]
[/loop]If [surname] = Kealoha, this would return:
I haven't tested this but something like this should work. I don't know why you want to do this though unless this is for a specific-looking format like an online certificate or something like that. Aloha, Olin...................................................................... W o r l d P o i n t Olin Kealoha Lagon .. The Language Company(TM) director, special projects .. .. Honolulu San Francisco olin@worldpoint.com .. 2800 woodlawn drive 222 sutter street www.worldpoint.com .. suite 170 sixth floor (v) 808.539.3978 .. honolulu, hi 96822 san francisco, ca 94108 (f) 808.539.3943 .. .. Over 3,000 Translators - Any Language, Any Time, Any Place ......................................................................
Associated Messages, from the most recent to the oldest:
>Ie Surname> First Name> Middle Name>>Now is there anyway that I can get this data via webcatalog to a database >where I can then>Assign each character of surname a number. These numbers then relate to a >font character>So that in theory when a user enters their name in the fields the page >when submitted will>Return a form that has all their details completely formatted in graphical >text and looking pretty.1. Create a graphic for each letter like A.gif a.gif B.gif b.gif and so on till you've got enough. Make sure you've got all text covered like '- or whatever accents you expect. Put all of your graphic files in a directory called fonts or whatever you want. 2. Use the following snippet:[loop start=1&end=
[countchars][surname][/CountChars]]
[/loop]If [surname] = Kealoha, this would return:
I haven't tested this but something like this should work. I don't know why you want to do this though unless this is for a specific-looking format like an online certificate or something like that. Aloha, Olin...................................................................... W o r l d P o i n t Olin Kealoha Lagon .. The Language Company(TM) director, special projects .. .. Honolulu San Francisco olin@worldpoint.com .. 2800 woodlawn drive 222 sutter street www.worldpoint.com .. suite 170 sixth floor (v) 808.539.3978 .. honolulu, hi 96822 san francisco, ca 94108 (f) 808.539.3943 .. .. Over 3,000 Translators - Any Language, Any Time, Any Place ......................................................................
Olin
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Location of Browser Info.txt file (1997)
WC Database Format (1997)
WCS Newbie question (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
shownext not showing next...still r2 (1997)
Dual processors? (2000)
WebDNA security (2004)
Strange Form Occurrence on Log In Pages (2005)
Order not created error (never mind) (1997)
RE: MacFinder -- a new WebDNA web site (1998)
Re:2nd WebCatalog2 Feature Request (1996)
Help name our technology! (1997)
[format xs] freeze (1997)
[WebDNA] WebDNA Sciprt for Zipping files? (2012)
[WebDNA] WebDNA on LiveCD ... (2008)
Serving images from databases (1998)
Sorting by date (1997)
WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997)
PCS Frames (1997)
OT Auction Software (2005)