nmoa Posted October 12, 2016 at 09:33 AM Report #599566 Posted October 12, 2016 at 09:33 AM boas tenho uma consulta em mysql $destaques = mysql_query ("SELECT * FROM destaques where estado=1 order by id_destaques ASC"); $des= mysql_fetch_array($destaques); gostaria de saber qual é o primeiro id dessa consulta, como fazer? obrigado
Solution HappyHippyHippo Posted October 12, 2016 at 10:34 AM Solution Report #599569 Posted October 12, 2016 at 10:34 AM SELECT * FROM destaques where estado=1 order by id_destaques ASC limit 1 1 Report IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
nmoa Posted October 12, 2016 at 10:37 AM Author Report #599570 Posted October 12, 2016 at 10:37 AM bom dia sim já tinha visto que essa seria a melhor solução obrigado na mesma topico fechado
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now