diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 10:43:53 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 10:43:53 +0200 |
commit | e247526ba388ce3def4f83ad8fb26852082bb7dd (patch) | |
tree | 335d0bd2797542462a3074e0c524a41a45e0257b /appli_3_alpha_old/include/je.inc.php | |
parent | 679551b7b545a72d376d9e60a8f3da66e44a6855 (diff) | |
download | 2007-AWOR-e247526ba388ce3def4f83ad8fb26852082bb7dd.tar.gz 2007-AWOR-e247526ba388ce3def4f83ad8fb26852082bb7dd.tar.bz2 2007-AWOR-e247526ba388ce3def4f83ad8fb26852082bb7dd.zip |
Version alpha_old3 2007-02-22+15:12:38 - 2007-02-27+20:02:20
Diffstat (limited to 'appli_3_alpha_old/include/je.inc.php')
-rw-r--r-- | appli_3_alpha_old/include/je.inc.php | 5 |
1 files changed, 3 insertions, 2 deletions
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 "<tr>\n<td>"; if ($row['estPrivee'] == 'oui') echo 'Privée' ; else echo 'Public'; echo "</td>\n<td>"; - echo "<a href=\"#\" onclick=\"loadid('poppersonne.php?idL=".$row['idL']."&idP_orga=$idP','poppersonne',true);popon('poppersonne')\">"; + echo "<a href=\"#\" onclick=\"loadid('poppersonne.php?idR=2&idL=".$row['idL']."&idP_orga=$idP','poppersonne',true);popon('poppersonne')\">"; echo $row['libelleL']; echo "</a>\n"; echo "</td>\n</tr>\n"; |