diff options
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"; |