Si votre email correspond à un compte, vous recevrez un lien de réinitialisation.
Bonsoir,Voila j'ai à nouveau besoinde vos lumières pour une conversion de MySQLver SQL Server.Le code :--------------------------------------$sql = "SELECT COUNT(t.topic_id) AS forum_topicsFROM " . TOPICS_TABLE . " t, " . POSTS_TABLE . " pWHERE t.forum_id = $forum_idAND p.post_id = t.topic_last_post_idAND (p.post_time >= $min_topic_time || t.topic_type = " . POST_ANNOUNCE .")";if ( !($result = $db->sql_query($sql)) ){message_die(GENERAL_ERROR, 'Could not obtain limited topics countinformation', '', __LINE__, __FILE__, $sql);}--------------------------------------------Qui pourrait m'aider car ce code génère une erreur à la ligne 5 ....Merci à tous ;)
Bonsoir, Voila j'ai à nouveau besoinde vos lumières pour une conversion de MySQL ver SQL Server. Le code : -------------------------------------- $sql = "SELECT COUNT(t.topic_id) AS forum_topics FROM " . TOPICS_TABLE . " t, " . POSTS_TABLE . " p WHERE t.forum_id = $forum_id AND p.post_id = t.topic_last_post_id AND (p.post_time >= $min_topic_time || t.topic_type = " . POST_ANNOUNCE . ")"; if ( !($result = $db->sql_query($sql)) ) { message_die(GENERAL_ERROR, 'Could not obtain limited topics count information', '', __LINE__, __FILE__, $sql); } -------------------------------------------- Qui pourrait m'aider car ce code génère une erreur à la ligne 5 .... Merci à tous ;)
Bonjour,Remplacer || par OR dans la clause WHERE ???----------------------------------------------------------------------Philippe TROTIN - Microsoft Service France"Arnold" wrote in messagenews:430e5a96$0$5384$Bonsoir,Voila j'ai à nouveau besoinde vos lumières pour une conversion de MySQLver SQL Server.Le code :--------------------------------------$sql = "SELECT COUNT(t.topic_id) AS forum_topicsFROM " . TOPICS_TABLE . " t, " . POSTS_TABLE . " pWHERE t.forum_id = $forum_idAND p.post_id = t.topic_last_post_idAND (p.post_time >= $min_topic_time || t.topic_type = " . POST_ANNOUNCE. ")";if ( !($result = $db->sql_query($sql)) ){message_die(GENERAL_ERROR, 'Could not obtain limited topics countinformation', '', __LINE__, __FILE__, $sql);}--------------------------------------------Qui pourrait m'aider car ce code génère une erreur à la ligne 5 ....Merci à tous ;)
Bonsoir,Voila j'ai à nouveau besoinde vos lumières pour une conversion de MySQLver SQL Server.Le code :--------------------------------------$sql = "SELECT COUNT(t.topic_id) AS forum_topicsFROM " . TOPICS_TABLE . " t, " . POSTS_TABLE . " pWHERE t.forum_id = $forum_idAND p.post_id = t.topic_last_post_idAND (p.post_time >= $min_topic_time || t.topic_type = " . POST_ANNOUNCE. ")";if ( !($result = $db->sql_query($sql)) ){message_die(GENERAL_ERROR, 'Could not obtain limited topics countinformation', '', __LINE__, __FILE__, $sql);}--------------------------------------------Qui pourrait m'aider car ce code génère une erreur à la ligne 5 ....Merci à tous ;)
Bonjour, Remplacer || par OR dans la clause WHERE ??? ---------------------------------------------------------------------- Philippe TROTIN - Microsoft Service France "Arnold" <no@nospam.org> wrote in message news:430e5a96$0$5384$8fcfb975@news.wanadoo.fr... Bonsoir, Voila j'ai à nouveau besoinde vos lumières pour une conversion de MySQL ver SQL Server. Le code : -------------------------------------- $sql = "SELECT COUNT(t.topic_id) AS forum_topics FROM " . TOPICS_TABLE . " t, " . POSTS_TABLE . " p WHERE t.forum_id = $forum_id AND p.post_id = t.topic_last_post_id AND (p.post_time >= $min_topic_time || t.topic_type = " . POST_ANNOUNCE . ")"; if ( !($result = $db->sql_query($sql)) ) { message_die(GENERAL_ERROR, 'Could not obtain limited topics count information', '', __LINE__, __FILE__, $sql); } -------------------------------------------- Qui pourrait m'aider car ce code génère une erreur à la ligne 5 .... Merci à tous ;)
Merci beaucoup c'est parfait !"Philippe T [MS]" a écrit dans le messagede news: Bonjour,Remplacer || par OR dans la clause WHERE ???----------------------------------------------------------------------Philippe TROTIN - Microsoft Service France"Arnold" wrote in messagenews:430e5a96$0$5384$Bonsoir,Voila j'ai à nouveau besoinde vos lumières pour une conversion de MySQLver SQL Server.Le code :--------------------------------------$sql = "SELECT COUNT(t.topic_id) AS forum_topicsFROM " . TOPICS_TABLE . " t, " . POSTS_TABLE . " pWHERE t.forum_id = $forum_idAND p.post_id = t.topic_last_post_idAND (p.post_time >= $min_topic_time || t.topic_type = " . POST_ANNOUNCE. ")";if ( !($result = $db->sql_query($sql)) ){message_die(GENERAL_ERROR, 'Could not obtain limited topics countinformation', '', __LINE__, __FILE__, $sql);}--------------------------------------------Qui pourrait m'aider car ce code génère une erreur à la ligne 5 ....Merci à tous ;)
Merci beaucoup c'est parfait ! "Philippe T [MS]" <ptrotin@online.microsoft.com> a écrit dans le message de news: OMDzuYgqFHA.364@TK2MSFTNGP11.phx.gbl... Bonjour, Remplacer || par OR dans la clause WHERE ??? ---------------------------------------------------------------------- Philippe TROTIN - Microsoft Service France "Arnold" <no@nospam.org> wrote in message news:430e5a96$0$5384$8fcfb975@news.wanadoo.fr... Bonsoir, Voila j'ai à nouveau besoinde vos lumières pour une conversion de MySQL ver SQL Server. Le code : -------------------------------------- $sql = "SELECT COUNT(t.topic_id) AS forum_topics FROM " . TOPICS_TABLE . " t, " . POSTS_TABLE . " p WHERE t.forum_id = $forum_id AND p.post_id = t.topic_last_post_id AND (p.post_time >= $min_topic_time || t.topic_type = " . POST_ANNOUNCE . ")"; if ( !($result = $db->sql_query($sql)) ) { message_die(GENERAL_ERROR, 'Could not obtain limited topics count information', '', __LINE__, __FILE__, $sql); } -------------------------------------------- Qui pourrait m'aider car ce code génère une erreur à la ligne 5 .... Merci à tous ;)