A
Albert Browne
I am using the code below in part of a subroutine. It displays ok later in
the routine within a <TEXTAREA> block.
But when I try to use $Meta elsewhere the string appears to be empty.
Further investigation shows the string is ok until it gets to the >
in the string. The string looks like this and does in the TEXTAREA
block<META NAME=\"AUTHOR\" CONTENT=\"AAA\"> which is correct.
I have tried printing the string a bit at a time it is ok until it gets to
the >. The string then appears to be empty. What am I missing?
Regards
Albert
$title = $query->param("Title");
if ($title ne "") {$Meta = "<META NAME=\"AUTHOR\" CONTENT=\"$title\">\n"} ;
$Owner = $query->param("Owner");
if ($Author ne "") {$Meta .= "<META NAME=\"AUTHOR\" CONTENT=\"$Owner\">\n"}
;
the routine within a <TEXTAREA> block.
But when I try to use $Meta elsewhere the string appears to be empty.
Further investigation shows the string is ok until it gets to the >
in the string. The string looks like this and does in the TEXTAREA
block<META NAME=\"AUTHOR\" CONTENT=\"AAA\"> which is correct.
I have tried printing the string a bit at a time it is ok until it gets to
the >. The string then appears to be empty. What am I missing?
Regards
Albert
$title = $query->param("Title");
if ($title ne "") {$Meta = "<META NAME=\"AUTHOR\" CONTENT=\"$title\">\n"} ;
$Owner = $query->param("Owner");
if ($Author ne "") {$Meta .= "<META NAME=\"AUTHOR\" CONTENT=\"$Owner\">\n"}
;