Jump to content
Fórum Script Brasil
  • 0

TODOS OS REGISTROS DE UMA COLUNA


Question

Boa noite
eu gostaria de saber qual valor coloco no <option value="qual valor coloco aqui">  </option> para que liste todos os registros, estou fazendo uma consulta segue a query abaixo. 

 

$query = sprintf("SELECT * FROM operacao  WHERE data_operacao BETWEEN '$data_inicial_rel' AND '$data_final_rel' AND estado_operacao = 'quero_saber_o_que_coloco_aqui ' ORDER BY id_operacao ASC ;");

desde já agradeço a atenção. 

Link to post
Share on other sites

1 answer to this question

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      148954
    • Total Posts
      645014
×
×
  • Create New...