for ($x = 0;$x <= $cut-1;$x++)
{
$sponsor_array[$x] = substr($sponsor_all,0,3);
$sponsor_all = substr($sponsor_all,2,$lenght);
$sponsor[$x] = GetSponsor(substr($sponsor_array[$x],1,2),substr($sponsor_array[$x],1,1));
echo substr($sponsor_array[$x],1,2) . "--" . substr($sponsor_array[$x],1,1);
echo $sponsor[$x]['name'] . "<br>.";
}
Ok, now its printing a name but its printing a name twice when it should be printing the name once and another name once. But I think the array is working now. Thanks. Now the echo's I put in show correct but don't match whatb the function should have done. I will look into it more and hopefully figure out why its doing that noww.