This website is to help people right? I try to explain my questions the best way I can, however I see where I am about to be banned from asking questions on stackoverflow. Well I am not a professional, that is why I am here. I am not abusing the website, so I do not see why I am "about to get banned" I do not understand this.
2 Answers
Let's look at your last question:
drop down list upon key entry
I am interested in creating a drop down list upon key entry from a sql database. There are many examples given here for a drop down list however I am not just interested in that, I want the user input to initiate the drop down and it narrows down to the result with each additional entries. It is similar to facebook search and youtube search and some other popular websites. This is very efficient for a database with a large number data within a list.
eg. The user wants to enter Dog for animal name, and in my sql list for animals beginning wih "d" I have dog, dolphin, donkey, deer,...etc. Now when the User enters "d", dog, dolphin, donkey, deer,...etc would come up, and when they enter "o", (by now they would have "do") the list would just change to just dog, donkey, dolphin.
Is there a code for this? and could I be directed to where I can get this information?
For a change, I'm not going to critique it. I'm just going to describe what goes through my head as I read it...
Title: You want a drop-down list to appear when a key is pressed. Slightly odd, but presumably there's a reason for this requirement that'll become apparent as I read the question. As someone with years of UI-design experience, this question interests me.
First paragraph: Oh, so... you're talking about an incremental search through a fixed set of options in a dropdown, a.k.a. filtering. That's less odd, but also less interesting; this has been a common UI fixture for decades. Nevermind, let's see what's so special about your specific needs that you couldn't use one of the myriad existing libraries to accomplish this...
Second paragraph: Nothing. You're describing list filtering as implemented in countless libraries and, quite frankly, trivially implemented from scratch by any beginning programmer (albeit usually with some common inefficiencies).
Third paragraph: you haven't searched. Faaaantastic.
There is a wealth of information already available on Stack Overflow for folks looking to accomplish tasks like this. You're doing yourself a disservice by not doing a trivial amount of research first.
I went ahead and re-closed your question as a duplicate of one that should help you. In the future, try anticipating this and saving yourself - and others - the time it took this time around.
Well, take a look at your most recent question.
I didn't have to read almost any of it. As soon as my eyes hit the last line that you wrote, I knew the question was innapproporiate for StackOverflow. You write,
Is there a code for this? and could I be directed to where I can get this information?
That is already not really in the spirit of the site. When I read over the rest of the question, it all came together - it is broad, not very clear, and you're basically just asking for code.
I recommend you look at the How to Ask help link. Also, look at the top questions by votes. They haven't been upvoted thousands of times for no reason. See how they present their question and what kind of answers those questions generate.
To address your last concern, as you say:
I am not abusing the website, so I do not see why I am "about to get banned"
You may think that you aren't abusing the website, as it's true that you aren't posting spam or flagging a million posts to gum up the queue, but in reality, posting poor-quality questions does hurt the site. Anything asking for code the way your last question does isn't going to be useful down the road for other people.
As a final note, though this all may come off a bit harshly, it certainly isn't meant to be a personal attack. It's just very important to understand what's appropriate for the site and what isn't. You can post answers or higher-quality questions to get more rep and move away from the ban-cliff.
numbas
-processing programs! 1, 2, 3, 4, 5, 6.numbas
". @Crisp I believe you post in good faith, but this website is simply not for personalized, 1-on-1 Matlab help (chat.stackoverflow.com might? be a better place for that?). 8 questions on a single program suggests to me that you actually need a Matlab tutorial, or some time spent talking with profs/TAs/peers/friends. It is not right to leave many questions whose answers will only ever be useful to you.