On Sun, 09 Nov 2003 15:51:36 -0500, Warren Oates <Warren@InHell.Com> wrote:
>I don't know where to look for this. I have a form that submits a search
>query to a db. This all works fine, data is retrieved and displayed
>properly. I create a session to carry part of the data to the next page,
>where I update the db based on the results of the search.
>
>When I try to validate my page as strict xhtml, all is well, except that
>PHP adds a hidden input element to my form. In xhtml, input elements
>must be inside a block-level container (<div>, <p>, <whatever>), but
>when PHP adds the input element, it doesn't create the container
>(although it does add the correct end tag), and the validator chokes.
>
>Can someone point me somewhere?
How about:

[url]http://www.php.net/session[/url]

"
url_rewriter.tags string
url_rewriter.tags specifies which html tags are rewritten to include session id
if transparent sid support is enabled. Defaults to
a=href,area=href,frame=src,input=src,form=fakeentr y,fieldset=

Note: If you want XHTML conformity, remove the form entry and use the
<fieldset> tags around your form fields.
"

I'm assuming this means it will put the hidden input element inside a
<fieldset>?

--
Andy Hassall (andy@andyh.co.uk) icq(5747695) ([url]http://www.andyh.co.uk[/url])
Space: disk usage analysis tool ([url]http://www.andyhsoftware.co.uk/space[/url])