kbjradmin
New Member
- Messages
- 512
- Reaction score
- 2
- Points
- 0
i need to check the resolution of the users screen and then change a variable based on that.
i think that his code would work, but i don't know.
could someone look it over please.
i think that his code would work, but i don't know.
could someone look it over please.
PHP:
<?php
$width = "
?>
<script type="text/javascript">
document.write = 'screen.width';
</script>
<?php
";
?>
thanks for your help!