-1
Can you return values from a PHP page via Ajax and display them separately? Ex. I have a PHP page on which I have the return values:
<?php
echo $a;
echo $b;
echo $c;
?>
Currently I can determine via Jquery that they are displayed in a certain DIV, only that they all appear together (in the same place). I would like to know if I could determine which "$a" will be displayed in a particular DIV, and the other variables in other DIV. It’s like?
My purpose is: Access the database, bring values and set in a modal. Currently I can already call this MODAL and fill its BODY with the server data. However, I don’t want to display these values only in BODY. I need to display $a in HEADER, $b in BODY and $c in FOOTER of this MODAL.
You can do just that?
Thanks in advance.
Why don’t you put your code in the question? So it would be less trouble for anyone who would be interested in helping you, as well as giving you a response adjusted in your own code.
– user76097