2
<div class="container">
<img src="../imagens/editar_3.png" style="cursor:hand" title="Editar Info" data-toggle="modal" data-target="#myModal">
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">× </button>
<h4 class="modal-title" style="color:black">Editar email</h4>
</div>
<div class="modal-body">
<center>
<form name="ed_em" method="post">
<table>
<tr>
<td style="color:black">Email </td>
<td style="color:black"><input type="text" name="mail" placeholder="email" value=<? echo $email;?>></td>
</tr>
<tr>
<td style="color:black">Palavra_passe </td>
<td style="color:black"><input name="pass" type="password" placeholder="obrigatoria"></td>
</tr>
</table>
<br>
<input type="submit" name="editar_email" value="Editar email">
</form>
</center>
</div>
</div>
</div>
</div>
</div>
I belong to put another on the same page but always open what you loaded first
Here as requested:
https://jsfiddle.net/69kn48c3/
this is the head of the page
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
You could show the full code on http://jsfiddle.net ?
– LF Ziron