it doesn't seem to parse $yourjavacode. it just leaves "$code" in the page, without it being replaced by the actual code.
what it thought of, is it might be my code that i'm trying to replace it with... the necessary java code is onLoad="snow()"...
so it looked like if (strtolower($bbuserinfo[field6])=='yes') {$yourjavacode='onLoad="snow()"';}
Should i do it differently? is that the problem?
|