Hi
I don't know what is the problem with this code?
<?
$name="Mohamed";
echo $name;
?>
<script language="Javascript1.2">
var na=<? echo $name; ?> ;
alert("Welcome "+na);
</script>
Why there is no messagebox running here?
Is there any possible way to pass a variable value from PHP to Javascript
thanks