Jump to content

jonysrb

New Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by jonysrb

  1. I have windows B2C app that use table PRODUCTS but our new web app use other tables, and I want to sync old tables with new tables. I can't change windows app to use new tables. only solution is to make function that when I make changes on old table update new tables. For example: OLD APP use one table: CLIENTS ( id, uname, pass, user_group,email,....) NEW APP use two tables: USERS (id, username, pwd, email,...) USER_GROUP (id, group_name, status,...)
  2. Hello everyone, I need help with creating php function, procedural php, or MySQLi for update or insert data. I have 3 tables. Table PRODUCTS contain all the information that i want to transfer into other two tables. Table PRODUCTS: id, name, serial, description Table List: id, name, serial Table View: id, name, description I need script that read table PRODUCTS and data from this table inesert or update values in the other two tables. 1. After call function 2. Read Table PRODUCTS 3. Read table LIST, if in "list" table have record with same serial as in table PRODUCTS update name with that serial from table products and if don't have insert id, name and serial with data from products 4. Read table View, if have record with same name as in table PRODUCTS update description with data from table PRODUCTS or insert id, name, description In table products I have over 4000 records. Thank you
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.