Posts by Sérgio Ramos da Silva • 3 points
3 posts
-
0
votes0
answers47
viewsQ: Insertion and removal using PDO in Onetomany and Manytomany relationships
I beginner questions about inserting and removing using PDO in such relationships Onetomany and Manytomany. Example: class Livro{ private $id; private $titulo; private $generos; //Livro tem mais de…
-
0
votes1
answer126
viewsQ: Onetomany or Manytoone?
Good evening, I have some basic beginner questions I need to create a timeline that has the following: What events occurred in a certain range of dates, who was born and who died in this range? I…
-
0
votes2
answers42
viewsQ: how to show the result of an sql in different <Section> files?
How do I make projects belonging to the same department stay in the same department? $sql = "SELECT d.nome, p.titulo FROM projeto p, departamento d WHERE p.dpto_id=d.id ORDER BY d.nome, p.titulo";…