* Thus wrote Ronald The Newbie Allen ([EMAIL PROTECTED]): > While I am sure that you are right. I went to the webpages that you > identified and did not see anything on' and ". I tried the code that typed > up and it said that Date_and_Time wher and undefinded index and also that > the headers could not be modified.
http://www.php.net/manual/en/language.types.string.php As noted in that document: $var = 'a value'; $array['key'] = 'has this value'; echo "var is $var, and array {$array['key']}"; output: var is a value, and array has this value echo 'var is $var, and array {$array[\'key\']}'; output: var is $var, and array {$array['key']} The undefined index is because $_POST['Date_and_Time'] is not set, you're probably using the form method GET so it will be defined in $_GET instead, for more info on this see: http://www.php.net/manual/en/language.variables.external.php The headers couldn't be modified becase php sent the notice of undefined index to the browser, stop that notice and the header() redirect will work properly. > > the base_url is this suppose to be an I or and L > $base_url .= dirname($_SERVER['REQUEST_UR I ']); it is 'I' as in Identifier. URL: http://servername/path/to/file URI: /path/to/file Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php