Uhm..arrrays...haven't actually got a handle on them yet. Yes, I wonder wether or not variable variables are the right choice, especially since they sometimes drive me crazy.
The main reason I use them is that I don't like static forms. For example, when adding/displaying columns to/in a database, like a personal information, I allow for the user to click on 'more' to get additional form space/display all detail. I have found that variable variables work nicely for this. And with using dynamic forms, I found that $POST does not work, unless I suppose I used $POST['array'].
I am still floundering on finding best practice for myself. Arrays are still somewhat esoteric for me. But one would think that if I can code variable variables in complex forms, then I could understand the use of arrays, time will get me there. I also don't have a handle on classes and have this feeling that I can speed up my development using them.
I have been using php for about 3 months now. I am building a rather large and complex site and find myself say on page 16, learning things and going back and applying those learnings to pages 1-15...argh...it grunt work...
Many thanks to the user community for some of the arcane ?'
s that I have posed. Also I feel that the answers/directions here are of better quality than those on phpfreaks.
V