Possible Duplicate:
How to insert PHP into jQuery?
how to insert php on jquery/javascript ? for example
php
$tot =4;
javascript
$(function()
if( can put php here? )
eg : if( <?php tot > 4 ?> )
i want to put the php in 'if statement' ,it`s possible?