posting code is good when you give an explaination
otherwise they just copy and paste. i've seen it before.
unlike you i understand this, but when the person is asking about <?php v <? v <% then they learned by rippimng off code they found on the net: ie: they dont understand something basic to php.ini if they even understand that.
from what i have seen this si a site script kiddies are posting at. why do i think that?
look at the general level of the question.,
"what's an array???? why id the guy who make the script use [0]? i wrote some more to it and it's not working....." and the more is missing the [0]
this is something so basic that if you can't understand it you need a book, not a website. a question like that or this one should send up a red flag that the person NEVER opened a book. if they never opened a book they aren't going to figure out that <?php is the actual opening and some people congifure their php.ini to allow asp styole (<%) and short (SGML) style (<?) tags as well. that the only way to have truely portable code is to use the xml style tags (<?PHP ?>)
yes that's something simple to explain, but when there's 3 of those as the first 4 threads i go into then there's an issue witht he people on the site, and it's obvious they won't learn by just having the working code, they will copy and paste. nthing more. if you want to help someone tell them WHY.
without a why there's no garuntee of understanding.
NOW i'm in a bad mood because those that potentially have the ability to help me here are wasting their time on things that are explained in a basic book and don't understand that without an explanation of why that people will just copy and paste, that whayt they give is pointless unless they are TRYING to create script kiddies or are really just script kiddies themselves and cutting and pasting something they have that works