Jump to content

valores checbox de tabela sql e mostrar


Recommended Posts

Boas tenho uma tabela sql com checkbox que mosta valores de sql como nome morada e emal o codigo da checkbox esta assim

   <input type="checkbox" name="print[]" value="<?php echo $row["id"]; ?>" >

e a pagina que recebe o valor selecionado estacom os dados mysqlconnect e esta assim

$sql="SELECT * FROM d3 WHERE id = '$id'";$result=mysql_query($sql);$rows=mysql_fetch_array($result);
echo $rows["nqm"];}

for($i=0;$i<$limite;$i++){$rows=mysql_fetch_array($result);echo '$nome'

mostra tudo em branco gostaria de ajuda

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.