hello every one i want to pass the php array from the javascript function . please help me out regarding this code
if($check[0]!='')
{
$data=$check[0];
?>
<script type="text/javascript">
window.location="admin.php?page=add_service&$data=<?php echo $data ; ?> "
</script>
<?php
}
it works for the single variable but for array its not working