Jump to content

[SOLVED] Javascript "" conflict with PHP


rbastien

Recommended Posts

Modfiy your code to this:

 


print "	<tr onMouseOver=\"this.className='highlight'\" onMouseOut=\"this.className='normal'\"> ";

 

I thinkkk that should work... also you missed a double quotation " to end your onMouseOver, which may have in fact caused the problem.

Might be worth reading this: http://blog.libssh2.org/index.php?/archives/28-How-long-is-a-piece-of-string.html

 

It explains the differences between the quotes. When to use them and when not to use them and also how strings are treated when using them.

 

Here's some more interesting reading: http://spindrop.us/2007/03/03/php-double-versus-single-quotes/

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.