0
I want to show a record of my database. I used PHP to create, insert and select. The problem is that when I show a record, it does the echo
within a div
which is a Pop-up. The PHP code is inside the div
Pop-up.
Example:
function select($dir, $base){
...
echo "<br><label><b>$affiche[title]</b></label><br>"
}
if(isset($_POST['insert']))//code is good here!
{
select($dir, $base); //affiche évènements
}
And the html code:
<div id='abc' style="display:none"> </div>
<div id="popup" style="display:none">
<form method="POST" action="#">
<input type=submit required name='insert'>
</form>
</div>
</body>
How do I show off div
?
How? I didn’t see your problem...
– Jorge B.
The problem is that I want to print $affiche[title] (which is a field in my table) in another div. I don’t know if it has to do with get.
– akm
The label is placed on the popup div. I want to put off this div.
– akm
Rephrase the question because in the HTML section there is no PHP code but in the context of the question speaks of PHP code inside the div "popup". It is very confusing.
– Daniel Omine
I want to show this label "echo "<br><label><b>$affiche[title]</b></label><br>"" outside the div "<div id="popup" style="display:None">" where it appears.
– akm