php session and xhtml compatibility
Posted: Sun Oct 13, 2002 9:54 am
Hi,
I am using sessions in php but would like to have the resulting html page compatible with xhtml1.1. This however seems not to be possible because php inserts a line
<input type="hidden" name="PHPSESSID" value="..." />
right after the <form> tag:
<form action="error_report1.php" method="post">
The validation will tell me: Error: element "input" not allowed here; possible cause is an inline element containing a block-level element
Grateful for the solution!
Many thanks
Wolfgang
I am using sessions in php but would like to have the resulting html page compatible with xhtml1.1. This however seems not to be possible because php inserts a line
<input type="hidden" name="PHPSESSID" value="..." />
right after the <form> tag:
<form action="error_report1.php" method="post">
The validation will tell me: Error: element "input" not allowed here; possible cause is an inline element containing a block-level element
Grateful for the solution!
Many thanks
Wolfgang