Ajout des boutons de Modération dans la page projet
This commit is contained in:
parent
7be3bac167
commit
0579eddf81
23 changed files with 281 additions and 226 deletions
|
|
@ -105,14 +105,14 @@
|
|||
* Fonction de recherche d'un seul projet
|
||||
* @param int $intId
|
||||
* @return array
|
||||
*/
|
||||
*/
|
||||
public function findOne(int $intId) :array{
|
||||
$strRq = "SELECT project.*,
|
||||
CONCAT(users.user_firstname, ' ', users.user_name) AS 'project_creatorname',
|
||||
users.user_image,
|
||||
category.category_name
|
||||
FROM project
|
||||
INNER JOIN users ON users.user_id = project.project_user
|
||||
INNER JOIN users ON users.user_id = project.project_user_id
|
||||
LEFT JOIN category ON category.category_id = project.project_category
|
||||
WHERE project.project_id = :id";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue