Re: [Tutor] writing HTML code to a variable/file

2009-05-26 Thread spir
Le Tue, 26 May 2009 15:57:10 +0100, Dayo Adewunmi s'exprima ainsi: > Hi, > > I'm extracting data from OpenLDAP, which needs to be formatted into > hyperlinks. So far, I can print the generated HTML code: > > print "http://users.example.com/~"; + userName + ">" + lastName > + ", " + firstName

Re: [Tutor] writing HTML code to a variable/file

2009-05-26 Thread Alan Gauld
"Dayo Adewunmi" wrote subsequently written to the file. How do I save this http://users.example.com/~"; + userName + ">" + lastName + ", " + firstName + " to a variable, then? aVar = 'http://users.example.com/~' + userName + ">" + lastName + ", " + firstName + "" But IMHO its much e

[Tutor] writing HTML code to a variable/file

2009-05-26 Thread Dayo Adewunmi
Hi, I'm extracting data from OpenLDAP, which needs to be formatted into hyperlinks. So far, I can print the generated HTML code: print "http://users.example.com/~"; + userName + ">" + lastName + ", " + firstName + "" However I want to write each line to a file first, so that I can alphabet