php - inner join query don't return any things -
I have a Any Idea Resolve question with this change It was done that Inner Joyin was changed to the Left Joiner and the other was changed to join the right way. php code in it for a mysql query Uses. The tables have the correct values to select users and conversations and main_profile to query after this query but nothing returns the query.
$ SqlQuer = "SELECT` conversation`,` Conversation`. Text, `main_profile` .___name,` Conversation` with `user`. Id 'INNER' user '(' user ' `.User =` Conversation`. So say INNER to `main_profile '(` user `.id =` main_profile` .user_id), where' conversations'. = ''. $ "'.' 'And' conversation '.0 =' 0 '"; $ Result = mysql_query ($ sqlQuer) or die (mysql_error ()); While ($ line = mysql_fetch_array ($ result)) {echo $ line [0] "# text #" $ line [1] "# Text #" $ line [2] "# CON #"; $ Id [] = $ line ['id']; }
Comments
Post a Comment