Hello
I have problem with connect app + php.
block
PHP file
https://pastebin.pl/view/4d645951
And the error
[php7:notice] [pid 30155] [client :62872] PHP Notice: Undefined index: button in /var/www/html/fca3.php on line 15
Hello
I have problem with connect app + php.
block
PHP file
https://pastebin.pl/view/4d645951
And the error
[php7:notice] [pid 30155] [client :62872] PHP Notice: Undefined index: button in /var/www/html/fca3.php on line 15
Try simpler code first.
<?php
$boton = $_POST['boton'];
if ($boton == "datos"){
$name = $_POST['name'];
$age = $_POST['age'];
$city = $_POST['city'];
echo "Name: ".$name." Age: ".$age." City: ".$city;
} else {
echo "No data";
}
?>