PHP – Pop-up to display details
Previous part:
Source files:
Download Android App:
Nguồn:https://wijstaanvooronzegrondrechten.org/
PHP – Pop-up to display details
Previous part:
Source files:
Download Android App:
Nguồn:https://wijstaanvooronzegrondrechten.org/
Bro, I'm looking for Modal view for PHP laravel. Any suggestion?
hi sir please help me out… theres no data output in my modal form 🙁
that's the only part of the process I cant do:
I have my codes below kindly check
Thank you!
<?php
$conn = mysqli_connect("localhost","root","","try");
$customerNumber = $_GET["customerNumber"];
$result = mysqli_query($conn, "SELECT * FROM try WHERE customerNumber=$customerNumber");
$customer = mysqli_fetch_object($result);
echo json_encode($customer);
?>
<!doctype html>
ANDD
<script>
function loadData(id){
//var customerNumber = button.id;
$.ajax({
url:"index.php",
method: "POST",
data: {"customerNumber": customerNumber},
success: function(response) {
var customer = JSON.parse(response);
$("#phone").text(customer.phone);
$("#customerNumber").text(customer.customerNumber);
$("#myModalLabel").Text(customer.customerName);
}
});
}
</script>
A question how can I send two parameters, two ID to do the MySQL query from PHP.
Thanks for tutorial man.
Its not opening the page
Buenas tardes amigo me puedes decir que puedo usuar en php para mostrar el preview del formulario que voy a cargar en la bd
Where is the other video?
give us the code bruh
dear sir how can i contact you..i need your help?
I tried this but when I clicked the button it automatically refreshed the page. how can i prevent it from refreshing automatically after clicking the button?
how create intro ??
Thanks so much adnan brother…
whare next tutorial ?
How to do change from button is href ?
GOOD job and idea, you may me help. please, i need a list by ajax but update when inserted data. please