Jump to content

How to display data from mysql using an HTML form?


skidmark10

Recommended Posts

Hi,

 

I have a table in mysql that I would like to retrieve data from, but only a particular row. I want to have an html form where I put the client id number in, hit submit, and have that member's row of data display (one row in the mysql table).

 

Does anyone know the code for this?

Link to comment
Share on other sites

Post the code you've written, and describe the problems you're having with it.

 

Really haven't started any code yet, I'm confused.

 

I know how to create an html form, with the form action of "post", and it stores the form data into the mysql table.

 

Now I want an html form where I enter a client's ID number, hit submit, and the row with the ID number in the table is displayed.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.