hola uso dreamweaver cs5 para hacer mi proyecto y con el mismo enlace mi pagina con un host gratuito y cuando intento hacer enlazar mi proyecto con el de mi pagina no me funcona ayuda porfavor mire
la coneccion con la base de datos
estos son los campos que me dio la paguina
$mysql_host = "mysql8.000webhost.com";
$mysql_database = "a8934662_video";
$mysql_user = "a8934662_falkon";
$mysql_password = "falkonxile1";
esta es la insercion
Código PHP:
Ver original<?php
$rut=$_GET['txt_rut'];
$nombre=$_GET['txt_nombre'];
$apellido=$_GET['txt_apellido'];
$usuario=$_GET['txt_usuario'];
$password=$_GET['txt_clave1'];
$email=$_GET['txt_email'];
$nivel=$_GET['txt_nivel'];
require_once("conexion.php");
$sql="INSERT INTO `a8934662_video`.`usuario` (rut,nombre,apellido,usuario,password,email,nivel) values('$rut','$nombre','$apellido','$usuario','$password','$email','$nivel')";
header("Location: index.php"); ?>
y esta es donde se introducen los campos
Código PHP:
Ver original<form id="form3" name="form3" method="post" action="inserta.php">
<table width="270" border="0">
<tr>
<td width="106">usuario</td>
<td width="154"><input type="text" name="txt_usuario" id="txt_usuario" /></td>
</tr>
<tr>
<td>nombre</td>
<td><input type="text" name="txt_nombre" id="txt_nombre" /></td>
</tr>
<tr>
<td>Apellido</td>
<td><input type="text" name="txt_apellido" id="txt_apellido" /></td>
</tr>
<tr>
<td>Email</td>
<td><input type="text" name="txt_email" id="txt_email" /></td>
</tr>
<tr>
<td>Rut</td>
<td><input type="text" name="txt_rut" id="txt_rut" /></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" name="txt_clave1" id="txt_clave1" /></td>
</tr>
<tr>
<td>Re-Password</td>
<td><input type="password" name="txt_clave2" id="txt_clave2" /></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="btn_enviar" id="btn_enviar" value="Enviar" /></td>
</tr>
</table>
</form>
me podrian ayudar porfavor de antemano muchas gracias