Posted by Phrogz on 10/12/06 20:56
mantrid wrote:
> I suspect it could be due to using a javascript function in php function.
> I'm not sure if this is allowed.
JavaScript and PHP have *nothing* to do with one another.
(Read this http://xkr.us/js/clientserver three times so that you
understand it.)
PHP produces X/HTML. The web browser sees that code. Now JavaScript
comes into play.
View Source on your web page to see what code is actually coming out,
and then you will see why your HTML may or may not be broken. That's
all the browser cares about.
Navigation:
[Reply to this message]
|