Re: Regex problem

2003-07-21 Thread Octavian Rasnita
Hi, Here is a code that does what you want and it works if the name has more than 2 names. I've tried an example with a First name, a last name and a middle name but it works for more names also. my $name = "Sarah Mohrley Washington"; my @initials = map /^(\w)/, split /\s+/, $name; print "@initia

Clearing a Form

2003-07-21 Thread Peter Fleck
I have a cgi that creates a form and then receives the output of the form and sends it to a mysql database. It also displays the form information as a preview of what is getting sent to the database. You can return to the original form with data if you need to correct something via an 'Edit' bu

Re: Clearing a Form

2003-07-21 Thread Dennis Stout
> I'm wondering if javascript is the answer? It's going to have to be. Saving those types of things are a function of the browser. Dennis -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Clearing a Form

2003-07-21 Thread wiggins
On Mon, 21 Jul 2003 17:05:57 -0500, Peter Fleck <[EMAIL PROTECTED]> wrote: > I have a cgi that creates a form and then receives the output of the > form and sends it to a mysql database. It also displays the form > information as a preview of wha

Re: Clearing a Form

2003-07-21 Thread Octavian Rasnita
You need to set not only the "Expires" HTTP header, but the "Cache-control=no-cache" and Pragma=no-cache" also. Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] - Original Message - From: "Peter Fleck" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 22

Bolding and Underlining.

2003-07-21 Thread Sara
I have an input coming from scrolling textbox eg. $description = qq~ This is my description. Here goes a couple of headings in it Heading abc: this is the heading one and needs to bold and underlined Heading xyz: needs to bold and underlined too. description continues here ~; I am producing HTM