[PHP] Re: Just like to know

2001-07-18 Thread Jeremy Maziarz
> One note. This will not work (using an associative array) Whoops. I should have tested my script before posting it...correction: "bar"); $string1 = "bla bla $somevar[0] bla bla bla $somevar["foo"]$somevar[0] bla"; $string2 = "bla bla ".$somevar[0]." bla bla bla ".$somevar["foo"].$somevar[0]."

Re: [PHP] Re: Just like to know

2001-07-18 Thread George E. Papadakis
Hello, I ame facing a cookies problem with with Internet Explorer I issue the following command to set the cookie: setcookie( $cookie_name, $cookie_value, time()+15768, "/", ".mydomain.gr", 0 ) The page that sends the cookie is in an IFRAME inside the main browser's window. The domain in the

[PHP] Re: Just like to know

2001-07-18 Thread Jeremy Maziarz
Jeroen, I guess it depends on your coding style and preference. Functionally, they do the same thing. First line is easier to read while the second line requires more typing. One note. This will not work (using an associative array): "bar"); $string1 = "bla bla $somevar[1] bla bla bla $somevar[