Hello one and all,
I don't know if what I would like to do is possible or not, but if it is, I would greatly appreciate help with it.
I use a php search script for my website. Simple enough. I'm big on XHTML validation, too. Now, I realized quickly that the OUTPUT of the searches were not going to be able to be made XHTML 1.0 valid just because of the way it's written. BUT I did try to get it to validate as HTML 4.01 at least. Well, I did except for one thing.
For example, check out this page of results. It DOES validate as HTML 4.01. Cool.
However, try this results page. Basically the same page, but with a different result because of a different search. This results page does NOT validate. BUT it only doesn't validate because of "&"s in the URL's that are generated by the search. That's all. Obviously, if I could just edit the HTML it would be an easy fix, but I can't do that because the pages are php-generated.
Is there some way to edit the search.php file (which controls the output and is what I've attached as a zip file) to replace all the "&"s in URL's with "&"?
If so, could someone please show me how? I'm very much a novice with php.