From e247526ba388ce3def4f83ad8fb26852082bb7dd Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 30 Jun 2018 10:43:53 +0200 Subject: Version alpha_old3 2007-02-22+15:12:38 - 2007-02-27+20:02:20 --- appli_3_alpha_old/include/je.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'appli_3_alpha_old/include/je.inc.php') diff --git a/appli_3_alpha_old/include/je.inc.php b/appli_3_alpha_old/include/je.inc.php index b5a7672..08861d5 100644 --- a/appli_3_alpha_old/include/je.inc.php +++ b/appli_3_alpha_old/include/je.inc.php @@ -103,7 +103,8 @@ require_once ('include/connect.inc.php'); else { $result = mysql_query("INSERT INTO Personne (courrielP,loginP) VALUES ('$persMail','$persMail')"); - return (mysql_insert_id($result)); + //return (mysql_insert_id($result)); + return (mysql_insert_id()); } return (0); @@ -125,7 +126,7 @@ require_once ('include/connect.inc.php'); echo "\n"; if ($row['estPrivee'] == 'oui') echo 'Privée' ; else echo 'Public'; echo "\n"; - echo ""; + echo ""; echo $row['libelleL']; echo "\n"; echo "\n\n"; -- cgit v1.2.3