alert box empty for php javascript

Posted by user295189 on Stack Overflow See other posts from Stack Overflow or by user295189
Published on 2010-05-12T18:48:03Z Indexed on 2010/05/12 18:54 UTC
Read the original article Hit count: 111

Filed under:
|
|
|
|

why does this script show empty alert box. I am trying to use php value in javascript

<script type="text/javascript">
 alert(<?php echo count($myorder) ?>); </script> 

thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery