|
Posted by Rik on 07/20/06 03:26
Robin wrote:
> Cheers Geoff Berrow bl@ck***.co.uk,
Don't toppost.
> Geoff Berrow wrote:
>> Message from Robin contained the following:
>>> I have been trying to validate this PHP to XHTML 1.1 for days and
>>> run out of ideas.... i have most of it validating now, but I cant
>>> quite finish it! Any help would be great!
>>
>> Well firstly I'd suggest using HTML 4.01 STRICT since you are
>> outputting HTML and not XML
If he wants XHTML, he should use XHTML. The reason why is a whole other
ballpark.
>> Secondly, validation has nothing to do with php. It is to do with
>> the HTML that the PHP produces.
>
> I know it is validating the output from the PHP as HTML that self
> explanatory when using PHP,
No, it isn't, but that hardly has anything to do with the original question.
> however is there no way I can modify this
> so it does validation. I tried getting books out however they don't
> seem to help!
The validtion is of the HTML you PHP cript produces. Run that through the
validator. If that doesn't validate, check why. If you're unable to
determine why the HTML produced by PHP isn't valid, THEN ask again, with the
specific code the PHP produces (not what it;s supposed to produce).
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|