Link to home
Create AccountLog in
Avatar of MrTV
MrTVFlag for Thailand

asked on

write a class to read and in sert into database php

If i have table 3 hardisk  moterboard  ram
How can i write a php code to read inside those table and generate script that allow user to insert into database
Avatar of Roonaan
Flag of Netherlands image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
I suggest you to use some class created by someone else.
I'm usually using class from wordpress. (wpdb) but there is a lot of simillar classes on the net.
If you are on php5, then it could be a good point to start at
You may look for some frameworks to do it ...