I am making the scripts of my site sign up page so i want to know can i open a **php tag in a script** i am doing this for more security..   

here the code 

```
<script>
//java script here
<?php 
//php goes here
?>
</script> 

```

and **`the script in php`**
 here's the code

```
<?php 
//php goes here 
<script>
//java goes here
</script>
?>

```

will they will work