Hello,
I am using a multi-dimensional array to store data from my form. I was wondering if php puts any character at the end of an array row. I ask this because each row has a different number of columns and I wanted to have a NULL character put at the end of each row so when I am using for loops to go through the array I know where to stop.
ie:
for($row=0; $row !=NULL; $row++)
{
for ($col = 0;$col !=NULL; $col++)
{
echo $_POST['var'][$row][$col] ."|" ;
}
echo "<BR>";
}
so if php puts something at the end what is it, and if it doesn't how can I put a null at the end of every col.
Thanks,
Chris