I am trying to detect browser information.
(I was never successful at getting get_browser to work).
<?PHP
//...php code
<script>
if(navigator.javaEnabled)
document.write("java enabled")
else
document.write("No java")
</script>
?>
I tried closing PHP before the script, and opening again after. I tried putting printfs in front of each of the javscript lines...
How would you do it?
I always get "java Enabled", but never see the script in my HTML.. shouldn't I?
A