Multiple record edit?
- Single Page
Posted 13 June 2012 - 15:29 PM
Posted 13 June 2012 - 17:39 PM
If you already have the IPs registered you can assign them to any user.
Check the example below:
http://www.grocerycrud.com/examples/set_a_relation_n_n
Hope it helps.
Cheers.
Posted 14 June 2012 - 14:12 PM
Here's a case:
Daffy Duck has to configure 6 servers and several gateways. Instead of going through the IT services ticket fiasco, he open up my little program - thank you GC - and updates the records he needs. The extra steps involved with opening each record and setting fields with duplicate data(user), and unique data(hostname), is bugging some of my "customers".
Another department has implemented their lab management db interface using PHPMaker. Gah! It works perfectly and has inline record editing within the table and also a full grid edit capability. No, I'm not going to use a code generator.
I like the n_n relation idea but I'm weak on DB skills so maybe some guidance on how to implement this in my situation would be fantastic!
Thanks!
Posted 14 June 2012 - 19:32 PM
users
id
name
users_ips
id
user_id
ip_id
ips
id
ip_address
Then you can use the docs for set_relation_n_n to create the relationships.
Posted 27 June 2012 - 15:02 PM