Código PHP:
Ver original<?php
echo "<form method='POST' action='conexion.php'>";
echo "Host del la base: " . "<p><input type='text' name='host' size='20'></p>";
echo "Usuario de la base: " . "<p><input type='text' name='usuario' size='20'></p>";
echo "Contraseña de la base:" . "<p><input type='password' name='contr' size='20'></p>";
echo "Base de datos deseada:" . "<p><input type='text' name='base' size='20'></p>";
echo "<p><input type='submit' value='Enviar' name='B1'></p>";
echo "</form>";
echo "<HR width=100% align='center'>"
$host = (isset ($_POST ['host'])); $user = (isset ($_POST ['usuario'])); $pass = (isset ($_POST ['contr'])); $base = (isset ($_POST ['base'])); //ahora a imprimir
echo $host;
echo $user;
echo $pass;
echo $base;
?>
el error que da es:
Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in C:\xampp\htdocs\conexion.php on line 12
y los asteriscos aparecieron solos, salu2