Page 1 of 1

How do I show the data entered into a database on a created

Posted: Wed Apr 13, 2005 9:38 am
by Arsenal Rule
Basically i have created a form which is blank and it has a button saying "view data".

I have a table called "client" with the fields client_id (Auto-Increment), company_name, company_address, company_tel_no, company_email, regular/irregular.

And basically what I would want to know is that how would I be able to view the data entered into the "client" table when the "view data" button is pressed, so when the button is pressed it will show the data from the "client" table in a viewable table on the form that I have created, with the option of being able to edit or delete each of the data shown.

I hope anyone would be able to help me mate
Thank you for you time very much appreciate it Take Care :)

Posted: Wed Apr 13, 2005 11:36 am
by Burrito
if know you the names of all of the fields in the table. Select the fields you will need to do. Output the rows with a while loop you will need to do. Insert the results into text fields you could (to make them editable), or make them links (with some fancy JS/DHTML) to modify them.

if not know you the names of the fields, "desc %tablename%" you could use to make that determination.

if need help you do with the js/dhtml, let me know...very nice indeed it can be.

Burrito