[PHP] Strings with embedded quotes and double quotes

2002-07-02 Thread C. Cormier - Ormetal Inc.
I need to echo a string that contains both quotes and double quotes. I remember doing this once using a special construct where the string started on a new line with a triple slash if I remember well. Or it was a triple something... I can't find the topic in the online PHP doc... Anybody

Re: [PHP] Form Value Validation

2002-03-21 Thread C. Cormier - Ormetal Inc.
On 21 Mar 2002, at 0:54, David Johansen wrote: I was wondering if there was a way to do validation of the values in forms. Sure, in your Form tag, you can have an statement like: onsubmit=return validate() Where validate() will be a javascript function. Claude Cormier Ormetal Inc.

[PHP] How to clear variables?

2002-03-21 Thread C. Cormier - Ormetal Inc.
Hi everybody, I am having a problem with variables. Basically I have not found a way to clear them so they are reset to if the user reload the page or move to another page Here is the speudo code: ?php session_start(); If ($Faction==Add to Data) { Add_to_data(); } html...

Re: [PHP] How to clear variables?

2002-03-21 Thread C. Cormier - Ormetal Inc.
On 21 Mar 2002, at 8:03, Rasmus Lerdorf wrote: This Faction variable comes from the browser. Thanks for answering Rasmus. But is it possible to clear this variable. Is this what is called a global variable? If not, does this means that the scope of POST variables is as long as the life of

Re: [PHP] How to clear variables?

2002-03-21 Thread C. Cormier - Ormetal Inc.
Thanks for your help. Well, you could prevent the user from cacheing the page by sending the appropriate cache control headers. Then when they click back it would say that the page is expired. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] How to clear variables?

2002-03-21 Thread C. Cormier - Ormetal Inc.
Thanks Martin. I will try that. Claude Cormier Ormetal Inc. http://www.goldcurrencies.ca http://www.ormetal.com = Claude Cormier Public Key http://www.ormetal.com/keys/ClaudeCormier.asc = -- PHP General

[PHP] Newbie needs help

2002-03-20 Thread C. Cormier - Ormetal Inc.
Hi everybody, I am having a problem with GET variables. Basically I have not found a way to clear them so they are reset to if the user reload the page. Here is the speudo code: ?php session_start(); If ($Faction==Add to Data) { Add_to_data(); } html... form...method=POST