[PHP] Xml Parse Extended Chars

2001-12-05 Thread Chris Noble

Ive ran into a stumbling block trying to parse an xml document. I control
the parsing and the creation of the xml document so I can do any changes
from either side of it. Problem I have run into is my xml document has a é
in it. Ive ran htmlentities on it and it converts it to é but
everytime I try and run xml parse on that I get the error code of "undefined
entity at line 108". Has anyone ran into this problem before or know a
solution to handle these issues?

Chris Noble



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: Forms and Results with PHP

2001-12-06 Thread Chris Noble

Have it check to see if the submit button has been clicked. such as the name
attribute you use on it. like
if(!isset($HTTP_POST_VARS[submit]))
{
header("Location: formpage.php");
}

Chris N.

"Ben Clumeck" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a form that a user can put his contact info.  This form posts to a
> file called results.php.  The results.php file has a mail() command and
the
> echo (i.e. )  to show the user confirmation of what he
> has submitted.
>
> However, if someone goes directly to results.php it will show Name: blank
> and email blank information.  Is there a way for the page to post an error
> stating no information was submitted or is there a way to enable the page
to
> process without information?
>
> Thanks for the help,
> Ben
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]