Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   how do you make a add, edit and delete forms (http://www.go4expert.com/forums/add-edit-delete-forms-t19293/)

ronny22 3Sep2009 22:23

how do you make a add, edit and delete forms
 
hi everyone

please is the anyone who can show me how to make a add, edit and a delete forms

my database is called gamelist
on my database i have products table
which has
id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(100) NOT NULL,
`body` text NOT NULL,
`price` decimal(8,0) NOT NULL,
`image` varchar(50) NOT NULL,
`stock` int(11) NOT NULL,
PRIMARY KEY (`id`)

what i wished to do is be able to
add to this table
edit to this table
and also be able to delete form this table
but but forms

so if i had form that allows me to input in to table it be great
i have an idea how the add can be made but no idea how
i can make an edit form
because for the edit form i would like to see the title the body (which is a description of the item on my website) the price the image and the stock

so then i can edit and update it

and i have no idea how i can make an delete
i mean i have some kind of idea where i can show all product titles on screen and have a delete button next to it so i can delete it

IF the is someone who can show me how to make this please help :embarasse

pradeep 4Sep2009 11:33

Re: how do you make a add, edit and delete forms
 
Try phpMyAdmin www.phpmyadmin.net


All times are GMT +5.5. The time now is 12:32.