Wow, lots of posts :eek:
$var = "auth_read[52]";
echo $_POST[$var];
At about 2am my time I finally thought of trying this, but it didn't seem to work for some reason.. so in the end I ended up scrapping the square brackets because I thought they the thing causing the problem (as it did in something I was doing in javascript yesterday too)..
Meaning I now had (to the effect of):
$var = "auth_read52";
echo $_POST[$var];
Which had the name and number bits built up from some other arrays I have.
Only thing with this is - it's a heck of a lot of variables now being posted.. rather than just 12 arrays, its more like 400 variables..
Would that be make a significant difference? (it seems like it would to me, but then again there is a fair amount of data in each array..)
Sooo..
You're making an array auth_read[], and storing it as an element in the $POST[] array. So it's not $POST['auth_read[52]'], it's $_POST['auth_read'][52].
I like that logic in that, going to have to try it I think (assuming arrays would be better to use)
Thanks very much for the help guys! 😃
Edit: And by the way, what is it with vBulletin that when you edit a post the first time, it works ok.. but when you edit again, it still has the very first posted text.. not updated with from first edit.. Meaning you have to re-do all your first revisions on the 2nd edit.. so annoying, lol