Category : echo

I have generated a PHP file and the echo is as follows: echo($time); When I run the HTML codes, I get the value echoed in the PHP file. I want to get the value echoed in the HTML file like a table, for example : Time 45 Thanks for your help Sourc..

Read more

I have run into a problem passing back the correct form and input for another ajax caller to use for other usages. Here is the front end JS code <script type="text/javascript"> function displayProduct() { $.ajax({ url: ‘action.php’, method: ‘post’, data: { display: "displayPro", }, success: function(data) { $("#display_product").html(data); } }); } $(document).ready(function() { console.log("Initialised"); // ..

Read more