Re: escaping HTML
| From: | Slavko Dervisevic | Date: | Mon, 11 Dec 2000 10:16:45 +0000 |
| Subject: | Re: escaping HTML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29659@lists.php.net to get a copy of this message | ||
> <?php
> <form action=\"test1.php\" method=\"post\">
> <input type=\"hidden\" name=\"<?php print session_name(); ?>\"
> <input type=\"submit\" value=\"submit\">
> > Thanks for any help,
> >
> > Magnus
> >
Try
<?php
echo "<form action=\"test1.php\" method=\"post\">";
echo "<input type=\"hidden\" name=\"sess_id\" value=\"".
session_name()."\"";
echo "<input type=\"submit\" value=\"submit\">";
?>
=====================
Slavko Dervisevic
Agencija INSIDE
http://www.unovomsadu.com/