-
- 3 Posts
Hello there!
I am trying to build a tiny shop. It should be just a table with fields like item number, description, price and so on.
For this i want to set up a MySQL table. I want to fill the data from the Modx Manager.
You could say I want a lite phpMyAdmin for a single table inside of the manager.
Is there an extra doing this?
If you have another idea, how to realize my project without having a mass of unsorted data in the end (like I would, if I put the whole data in one html table), please let me know.
I'm using MODX Revolution 2.1.3-pl (traditional).
Thank you for your help,
Simon!
[ed. note: similicious last edited this post 12 years, 6 months ago.]
What version of MODX are you using?
-
- 24,544 Posts
This might help also:
http://bobsguides.com/custom-db-tables.html. In this version, you create the table in PhpMyAdmin then run the tools to create the schema and class files. It's sometimes easier to do it that way if you just have a single table.
-
- 659 Posts
Hello,
Note that It's pretty easy to reverse engineer database by the Bob's way, BUT this way does NOT create the relationships between tables if you have some...You wiil have to create them manually once the xml schema and class files are created
-
- 24,544 Posts
FYI, you can also use straight PDO to interact with your table.