sophielois
Technical User
Is it possible to pass an array through a url?
I cant get it to work...
this is what im doing
At the mo this is not working, when i display $units it prints Array
Never tried to do this before so unsure if it is even possible.
Sophx
I cant get it to work...
this is what im doing
Code:
<?
$units = $_POST['cb']; /* array which chosen units are stored */
?>
<?
echo "<td colspan='2'><font face='Verdana, Arial, Helvetica, sans-serif'><b>Personal Details</b> - <a href='/admin/editpersonal.php?userid=$userid&units=$units'>Edit Personal Details</a></font></td>";
?>
At the mo this is not working, when i display $units it prints Array
Never tried to do this before so unsure if it is even possible.
Sophx