Populate custom form with data from database

Discussion in 'Developers' Forum' started by laptop_user, Oct 8, 2015.

  1. laptop_user

    laptop_user Member

    Hi all, I followed this tutorial to create custom module. http://docs.ispconfig.org/development/interface/
    ISPC automatically create table for me. I can insert data with my form but how do I populated my previous inserted data back to the form??

    Thanks in advance.
     
  2. florian030

    florian030 Well-Known Member HowtoForge Supporter

    The data is loaded if you re-open your form.
     
  3. laptop_user

    laptop_user Member

    Unfortunately it's not working for me when I reopen the form. How does the system know which row the data in the database belong to which user?
     
  4. florian030

    florian030 Well-Known Member HowtoForge Supporter

    Have a look at some other plugins to see how to handle the data.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    See data sys_* columns of each table.
     

Share This Page