Fix: syntax error

This commit is contained in:
Laurent Destailleur 2013-04-13 15:09:57 +02:00
parent 6e495bfbe1
commit 473fbf2c33
6 changed files with 3 additions and 3 deletions

View File

@ -76,8 +76,8 @@ if (isset($_POST["boutonp"]) || isset($_POST["boutonp_x"]))
// Check if vote already exists // Check if vote already exists
$sql = 'SELECT id_users, nom'; $sql = 'SELECT id_users, nom';
$sql.= ' FROM '.MAIN_DB_PREFIX."opensurvey_user_studs'; $sql.= ' FROM '.MAIN_DB_PREFIX.'opensurvey_user_studs';
$sql.= ' WHERE id_sondage='".$db->escape($numsondage)."' AND nom = '".$db->escape($nom)."'"; $sql.= " WHERE id_sondage='".$db->escape($numsondage)."' AND nom = '".$db->escape($nom)."'";
$sql.= ' ORDER BY id_users'; $sql.= ' ORDER BY id_users';
$resql = $db->query($sql); $resql = $db->query($sql);
$num_rows = $db->num_rows($resql); $num_rows = $db->num_rows($resql);

Binary file not shown.

After

Width:  |  Height:  |  Size: 828 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 828 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 828 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 828 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 828 B