Jump to content

LeMen

New Members
  • Posts

    3
  • Joined

  • Last visited

LeMen's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello. I am beginner try to learn something new. I have wish, "how to" below... 1. Let's say I have table within database which hold "ID" information. It's numeric, and I have input form. When the form is display, I have HTML code showing the "current" ID which is the last ID in the table, plus 1. So, if the last one is 12, then its shown 13, and soon. How I achieve this code to be done ? 2. I got table consist of "Name", "Address", "Age" I have option code, like this: <select name="nameID"> <option value="Mr. Alpha">Mr. Alpha</option> <option value="Mrs. Beta">Mrs. Beta</option> <option value="Ms. Gamma">Ms. Gamma</option></select> Upon user selected on of those option, I want to show the correspondent value within the database, which are "Address" and "Age", on the specific position within the form. How I done this purpose? Appreciate for your time and effort. Thanks in advance.
  2. Ahh, I see. I guess that what I want. I want to 'update' the data form on certain selection by retrieving some information on the database. That's mean I post this on wrong sub forum, right? Do I need to make the new thread under Ajax help? Not sure if Moderator could move this one rather than create a new one. Thanks for enlighment, dalecosp.
  3. Hello. I need little help here, since I am newbie on PHP and MySQL. ^^ I have form input, one is design to auto increment and the other is purpose to retrieve the information from database. How I do that ? Here the detail: 1. There is auto increment information base from the last database input and add the number with 1. So, if the last is 0, then it should displaying 1, and so on. Its purpose just for showing the information of the number, not for manual input. At the moment, I still put it on manual since I don't know how to code it. 2. There's some drop down choice, like <option> menus and/or <datalist>, and the data which is manually input, have some other value store already in database, like; if name is "John" it has other value like "address" or "age". I want to display those information during selection was made. This on the same form input. So, like it's showing other detail on specific place about the related selection which has been made. Pardon my english, since its not my primary language. Thank you before.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.