techker Posted November 21, 2011 Share Posted November 21, 2011 Hey guys i have a big problem..lol i know how to do the query's but it's the show results that i have issue's with..i always get confused.. like i dd this in php my admin SELECT * FROM Motif a INNER JOIN Expulsion b USING(Motif) now it works in my admin ..but now im confused on how to show the results.. any tips on this? Quote Link to comment https://forums.phpfreaks.com/topic/251562-php-echo-help/ Share on other sites More sharing options...
requinix Posted November 21, 2011 Share Posted November 21, 2011 Eh? Here's a good place to start. Quote Link to comment https://forums.phpfreaks.com/topic/251562-php-echo-help/#findComment-1290124 Share on other sites More sharing options...
techker Posted November 21, 2011 Author Share Posted November 21, 2011 for the query its good.but when it comes to show the results of the query the echo confuses me.. Quote Link to comment https://forums.phpfreaks.com/topic/251562-php-echo-help/#findComment-1290131 Share on other sites More sharing options...
requinix Posted November 21, 2011 Share Posted November 21, 2011 What tutorial are you following? Quote Link to comment https://forums.phpfreaks.com/topic/251562-php-echo-help/#findComment-1290167 Share on other sites More sharing options...
techker Posted November 21, 2011 Author Share Posted November 21, 2011 none.thats what im asking..just for the part of the echo results.. Quote Link to comment https://forums.phpfreaks.com/topic/251562-php-echo-help/#findComment-1290181 Share on other sites More sharing options...
requinix Posted November 21, 2011 Share Posted November 21, 2011 Then what's your code? Quote Link to comment https://forums.phpfreaks.com/topic/251562-php-echo-help/#findComment-1290184 Share on other sites More sharing options...
techker Posted November 26, 2011 Author Share Posted November 26, 2011 this works now. $query = "SELECT N_Etudiant, Professeur FROM Expulsion GROUP BY N_Etudiant, Professeur HAVING COUNT( * ) >=2 LIMIT 0 , 30"; Quote Link to comment https://forums.phpfreaks.com/topic/251562-php-echo-help/#findComment-1291371 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.