April 23rd, 2013, 08:10 AM
Displaying table data with input field.
Hello people, i've stumbled across a problem while learning that i can't seem to solve. In my MySQL database tables i have "name" and "coins" and on my page i have an input box, where you type a name, and the site should show how many coins he has. The problem is i can't find out how to that, and i would really appreciate if some of you in here could help me.
Thanks in advance.
April 23rd, 2013, 12:24 PM
That's something you would implement at your application level.
In MySQL, this would be as simple as running a select query:
SELECT coins FROM table where name = 'name value'