Avancer sur la fonctionnalité de Créer/Modifier un projet

This commit is contained in:
Guillaume HESS 2026-02-13 11:58:36 +01:00
parent 483ae3c9c0
commit 7be3bac167
12 changed files with 67 additions and 51 deletions

View file

@ -23,7 +23,7 @@
CONCAT(user_firstname, ' ', user_name) AS 'project_creatorname',
user_image
FROM project
INNER JOIN users ON user_id = project_user";
INNER JOIN users ON user_id = project_user_id";
$strWhere = " WHERE ";
@ -105,7 +105,7 @@
* 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',