hi everyone, I want to make a php that include javascript that use a php variable. Code is below:
<? $size = GetImageSize ("images/$resim"); echo "<script language=\"JavaScript\"> wdth=";$size;echo";"; echo "</script>"; ?> (I am calling that php file as below) http://localhost/Aksu/web/getimage.php?resim=K00.jpg But explore gives me an javascript error that syntax error. Why? and how can do my purpose? thanks burak delice -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php