Hi.
I am making a MySQL database and I wnt to do PHP forms. The database is quite big, so I dont want to do the forms by hand.
I thaught there was an automated way to do this.
I exported the database structure and made an xml out of it. The xml is very simple, this is an example:
where TableName is the name of the table, and <varchar>name</varchar> means there is a field named "name" whis is a varchar.
What I need to do is parse this XML and make an HTML form out of it. What is the easiest way of doing this?
Thanks,
K
I am making a MySQL database and I wnt to do PHP forms. The database is quite big, so I dont want to do the forms by hand.
I thaught there was an automated way to do this.
I exported the database structure and made an xml out of it. The xml is very simple, this is an example:
| Code: |
| <?xml version="1.0"?>
<data> <TableName> <int>id</int> <varchar>name</varchar> <varchar>mail</varchar> <text>observations</text> </TableName> </data> |
where TableName is the name of the table, and <varchar>name</varchar> means there is a field named "name" whis is a varchar.
What I need to do is parse this XML and make an HTML form out of it. What is the easiest way of doing this?
Thanks,
K
