how to do this
Moderator: General Moderators
-
reddurango
- Forum Newbie
- Posts: 13
- Joined: Sun Aug 16, 2009 9:17 am
how to do this
how can i get a php variable and almacen it into javascript variable, so i can get a session variable and use it for an if comparison in javascript
Re: how to do this
To those interested: I think "almacen" means "deposit". From Arabic.
Code: Select all
?>
<script type="text/javascript">
var value = "<?=addslashes($variable)?>";
// ...
</script>