21 Posts
Roote
6 years ago
Topic

Hi,

I have a list & search of Users with a checkbox(on ID) on each row.  I have javascript that collects the id's checked and some other Users values.  I send that information to a PHP file using Ajax.  That PHP file inserts the data into a custom table called "Authorized".  Where I'm having trouble is I tried creating a list & search of this "Authorized" table, but there were no results when I know the table is populated.  I know after some research that it's because I need to add to the core table along with my custom table "Authorized".  So my question, is there a way programmatically to add rows into my "Authorized" table and core table? One last thing, I also will be creating a form where user can edit a single record in the "Authorized" table.

Thanks in advance

Roote

Get a VIP membership
134 Posts
root
6 years ago
1
Level 1

Hi there,
IMHO you are complicating your life, quite... Did you know you can pass the info from the list & search to a new form?

You will avoid all this circus. Tell me if you don't know how. For the moment I give you a clue: GET

21 Posts
Roote
6 years ago
0
Level 2

Medias,

I can't think of another way right now.  Maybe I am complicating it. but if there was list of 50 users and i only wanted to add only 40 of those to the Authorize table, how can i make this happen.  Right now the user would select the checkbox next to each user he wants to add to the Authorize table, then clicks a button to make it happen.

Get a VIP membership