Posts by Ilines • 11 points
2 posts
-
0
votes4
answers23723
viewsA: How not to write duplicate data to Mysql with PHP?
Create a CONSTRAINT. ALTER TABLE table ADD CONSTRAINT cunique_table_customer_primary UNIQUE (column1, column2)
-
1
votes1
answer114
viewsQ: Data insertion with PHP OO (Similar to Entitymanager.persist (Object) java manager)
I would like a tip on how to loop to insert an object into the mysql/ postgres database ... Example class User { // PRIMARY KEY public $id; public $login; // PRIMARY FOIREIGN KEY public $people;…