Ayuda! crear proyecto, muy motivado.

jejeej vale aqui va la etiqueta completa.. pero aver quien lee esto ¬¬ ajaajajajja



<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
<style type="text/css">
<!--
.Estilo3 {font-size: 9px}
body {
margin-left: 7%;
margin-right: 7%;
margin-top: 1%;
margin-bottom: 1%;
}
.Estilo4 {font-size: 30px; font-family: Ethnocentric;}
.Estilo5 {font-size: 12px; font-family: Arial;}
body,td,th {
font-family: Arial;
font-size: 16px;
}
#Layer1 {
position:absolute;
left:352px;
top:250px;
width:530px;
height:403px;
z-index:1;
}
#Layer2 {
position:absolute;
left:522px;
top:286px;
width:186px;
height:81px;
z-index:1;
}
#Layer3 {
position:absolute;
left:760px;
top:634px;
width:253px;
height:154px;
z-index:2;
}
.Estilo8 {font-size: 24px}
.Estilo11 {font-size: 14px}
#Layer4 {
position:absolute;
left:755px;
top:620px;
width:226px;
height:140px;
z-index:2;
}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p=new Image; d.MM_p[j++].src=a;}}
}

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d)&&d.all) x=d.all; for (i=0;!x&&i<d.forms.length;i++) x=d.forms;
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<?php
$NOMBRE=$_POST['NOMBRE'];
$EMPRESA=$_POST['EMPRESA'];
$PROVINCIA=$_POST['PROVINCIA'];
$EMAIL=$_POST['EMAIL'];
$TELEFONO=$_POST['TELEFONO'];
$CONTRASEÑA=$_POST['CONTRASEÑA'];

msql_connect("localhost","xntucasa_ayose","AQUI VA MI CONTRASEÑA");
mysql_select_db("xntucasa_base1");

mysql_query(*INSERT INTO tabla(USUARIOS) VALUES('$NOMBRE','$EMPRESA','$PROVINCIA','$EMAIL','$TELEFONO','$CONTRASEÑA')*);

?>

<body onLoad="MM_preloadImages('im&aacute;genes/pon-tu-anuncio_down.png','im&aacute;genes/dame-tu-opinion_down.png','im&aacute;genes/buscador_down.png','im&aacute;genes/ayuda_down.png','im&aacute;genes/tu-opinion_down.png')">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="75" valign="top" bgcolor="#FFFFFF"><table width="100%" height="83%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="#FFFFFF"><p> usuario : <a href="d">registrarse</a> | <a href="#">entrar</a> </p></td>
<td bgcolor="#FFFFFF">&nbsp;</td>
</tr>
<tr>
<td width="76%" height="32%" valign="bottom"><h1 align="left"><span class="Estilo4"> tucasaenespa&ntilde;a.</span><span class="Estilo5">com</span></h1></td>
<td width="24%" colspan="2"><img src="imagenes/logo de la pag - copia (2).png" alt="log de web" width="180" height="73" longdesc="log de tucasaenespaña"></td>
</tr>
<tr>
<td height="18">&nbsp;</td>
<td colspan="2" valign="top"><div align="center" class="Estilo3">
<div align="left">
<blockquote>
<p align="left" class="Estilo3">comprar, vender y alquilar </p>
</blockquote>
</div>
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="594" valign="top"><table width="100%" height="39" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="39">
<table id="Tabla_01" width="1059" height="30" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="9">
<img src="im&#xe1;genes/menu_up_01.png" width="1059" height="3" alt=""></td>
</tr>
<tr>
<td rowspan="2">
<img src="im&#xe1;genes/menu_up_02.png" width="3" height="27" alt=""></td>
<td>
<a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('buscador','','imágenes/buscador_down.png',1)"><img src="imágenes/buscador_up.png" alt="buscador" name="buscador" width="91" height="24" border="0"></a></td>
<td rowspan="2">
<img src="im&#xe1;genes/menu_up_04.png" width="6" height="27" alt=""></td>
<td>
<a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('pon tu anuncio','','imágenes/pon-tu-anuncio_down.png',1)"><img src="imágenes/pon-tu-anuncio_up.png" alt="pon tu anuncio gratis" name="pon tu anuncio" width="207" height="24" border="0"></a></td>
<td rowspan="2">
<img src="im&#xe1;genes/menu_up_06.png" width="5" height="27" alt=""></td>
<td>
<a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('ayuda','','imágenes/ayuda_down.png',1)"><img src="imágenes/ayuda_up.png" alt="ayuda" name="ayuda" width="56" height="24" border="0"></a></td>
<td rowspan="2">
<img src="im&#xe1;genes/menu_up_08.png" width="592" height="27" alt=""></td>
<td>
<a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('tu opinion','','imágenes/tu-opinion_down.png',1)"><img src="imágenes/tu-opinion_up.png" alt="tú opinión" name="tu opinion" width="94" height="24" border="0"></a></td>
<td rowspan="2">
<img src="im&#xe1;genes/menu_up_10.png" width="5" height="27" alt=""></td>
</tr>
<tr>
<td>
<img src="im&#xe1;genes/menu_up_11.png" width="91" height="3" alt=""></td>
<td>
<img src="im&#xe1;genes/menu_up_12.png" width="207" height="3" alt=""></td>
<td>
<img src="im&#xe1;genes/menu_up_13.png" width="56" height="3" alt=""></td>
<td>
<img src="im&#xe1;genes/menu_up_14.png" width="94" height="3" alt=""></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" height="646" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="265" rowspan="2" valign="top" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td scope="col"><div align="left"><span class="Estilo11"><a href="s">inicio</a> &gt; registro </span></div></td>
</tr>
</table></td>
<th height="80" scope="col">&nbsp;</th>
<th width="265" rowspan="2" scope="col">&nbsp;</th>
</tr>

<tr>
<td height="519">&nbsp;</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" id="Layer3" name="Layer3">
<tr>
<th scope="col"><img src="imagenes/toro-espanol - copia.png" width="250" height="160"></th>
</tr>
</table>
<p>&nbsp;</p>
<table width="100%" border="1" cellpadding="0" cellspacing="0" id="Layer1">
<tr>
<th height="34" class="Estilo8" scope="col">registro de usuario </th>
</tr>
<tr>
<td valign="top" bgcolor="#FFFF00">




<form name="form1" method="post" action="">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFF00">
<tr>
<th width="47%" height="18" scope="col">&nbsp;</th>
<th width="53%" scope="col">&nbsp;</th>
</tr>
<tr>
<td height="35" bgcolor="#FFFF00"><blockquote>
<p><strong>tu nombre:</strong></p>
</blockquote></td>
<td><label>
<input name="NOMBRE" type="text" id="NOMBRE" size=30 maxlength=50>
</label></td>
</tr>
<tr>
<td height="35"><blockquote>
<p><strong>tu empresa:</strong></p>
</blockquote></td>
<td><label>
<input name="EMPRESA" type="text" id="EMPRESA" size=30 maxlength=50>
</label></td>
</tr>
<tr>
<td height="35" align="left"><blockquote>
<p><strong>provincia:</strong></p>
</blockquote></td>
<td height="35"><label>
<select name="PROVINCIA" id="PROVINCIA">
<option selected> -- SELECCIONAR --</option>
<option>&Aacute;lava</option>
<option>Albacete</option>
<option>Alicante</option>
<option>Almer&iacute;a</option>
<option>Asturias</option>
<option>&Aacute;vila</option>
<option>Badajoz</option>
<option>Islas Baleares</option>
<option>Barcelona</option>
<option>Burgos</option>
<option>C&aacute;ceres</option>
<option>C&aacute;diz</option>
<option>Cantabria</option>
<option>Castell&oacute;n</option>
<option>Ciudad Real</option>
<option>C&oacute;rdoba</option>
<option>La Coru&ntilde;a</option>
<option>Cuenca</option>
<option>Gerona</option>
<option>Granada</option>
<option>Guadalajara</option>
<option>Guip&uacute;zcoa</option>
<option>Huelva</option>
<option>Huesca</option>
<option>Ja&eacute;n</option>
<option>La Rioja</option>
<option>Le&oacute;n</option>
<option>L&eacute;rida</option>
<option>Lugo</option>
<option>Madrid</option>
<option>M&aacute;laga</option>
<option>Murcia</option>
<option>Navarra</option>
<option>Orense</option>
<option>Palencia</option>
<option>Las Palmas</option>
<option>Pontevedra</option>
<option>Salamanca</option>
<option>Tenerife</option>
<option>Segovia</option>
<option>Sevilla</option>
<option>Soria</option>
<option>Tarragona</option>
<option>Teruel</option>
<option>Toledo</option>
<option>Valencia</option>
<option>Valladolid</option>
<option>Vizcaya</option>
<option>Zamora</option>
<option>Zaragoza </option>
</select>
</label></td>
</tr>
<tr>
<td height="35"><blockquote>
<p><strong>email de contacto: </strong></p>
</blockquote></td>
<td><label>
<input name="EMAIL" type="text" id="EMAIL" size=30 maxlength=50>
</label></td>
</tr>
<tr>
<td height="35"><blockquote>
<p><strong>tel&eacute;fono de contacto: </strong></p>
</blockquote></td>
<td><label>
<input name="TELEFONO" type="text" id="TELEFONO" size=30 maxlength=20>
</label></td>
</tr>
<tr>
<td height="35"><blockquote>
<p><strong>contrase&ntilde;a:</strong></p>
</blockquote></td>
<td><label>
<input name="CONTRASE&Ntilde;A" type="password" id="CONTRASE&Ntilde;A" size=30 maxlength=40>
</label></td>
</tr>
<tr>
<td height="45">&nbsp;</td>
<td><label>
<input type="checkbox" name="checkbox" value="checkbox">
<span class="Estilo11">acepto las <a href="q">condiciones de uso</a> y la <a href="q">pol&iacute;tica de privacidad</a> </span></label></td>
</tr>
<tr>
<td height="46">&nbsp;</td>
<td><label>
<input type="submit" name="Submit" value="registrar">
</label></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="10" bgcolor="#F2F2F2" border="1" ><div align="center">
<p align="left"><a href="google.com">conoce la web </a> | <a href="google.com">contacto</a> | <a href="google.com">condici&oacute;n de uso</a></p>
</div></td>
</tr>
<tr>
<td height="10" bgcolor="#FFFFFF"><div align="center"></div></td>
</tr>
<tr>
<td height="10" bgcolor="#FFFFFF"><div align="center"></div></td>
</tr>
<tr>
<td height="16" bgcolor="#FFFFFF"><div align="center">
<p>anuncio google </p>
</div></td>
</tr>
</table>
</body>
</html>
El fallo es que esto:

mysql_query(*INSERT INTO tabla(USUARIOS) VALUES('$NOMBRE','$EMPRESA','$PROVINCIA','$EMAIL', '$TELEFONO','$CONTRASEÑA')*);
No se pone con * sino con '; te recomiendo que te lo guardes en una variable y haga el query de la variable; sustituye la linea citada por esto:

$query = "INSERT INTO tabla(USUARIOS) VALUES('$NOMBRE','$EMPRESA','$PROVINCIA','$EMAIL', '$TELEFONO','$CONTRASEÑA')";
mysql_query($query);

Asi te funcionara todo; si te da mas fallos di que linea y listo; recuerda que con la etiqueta code es mucho mas corto el mensaje aunque el codigo sea muy largo.

Un saludo.
hola victor, muchas gracias por tu ayuda, mira cambie lo que me dijistes y me sigue el mismo error, le di en dreamweaver a buscar errores yme dio 7 y son estos:


en esta puede ver 4 errores


[contenido no disponible]

Uploaded with ImageShack.us



en esta puedes ver 2 errores


[contenido no disponible]

Uploaded with ImageShack.us



y en esta 1 error


[contenido no disponible]

Uploaded with ImageShack.us



bueno como ves la mayoria de los errores son en las medidas no lo entiendo :S
Una cosa que tienes que tener clara es que no te debes fiar ni por asomo de Dreamweaver; es mas, si creas el diseño de la tienda con este sistema, en unos navegadores se te vera bien y en otros mal; si ejecutas los cambios que te he dicho en el codigo que te he comentado, no hay ningun error PHP; otra cosa es que alguna propiedad este mal puesta que eso ya es otra historia.

Tu pruebalo tal cual y me comentas.

PD: Lo mejor es que lo pruebes en la web, en /perico/ por ejemplo para k nadie entre.
bueno creo que el error puede estar o en el codigo php, en la configuracion del cpanel que alomejor no tnego activado lo de php (que eso lo vi en un videos pero noc como mirar eso enel cpanel) o puede que ester en la base de datos porque he hecho prueba creando este formulario y me da el mismo error (puedes comprobarlo entrando enla pag y en el apartado formulario.

y da este error: "Parse error: syntax error, unexpected '*', expecting ')' in /home/xntucasa/public_html/formulario.php on line 19"


mira cree este formulario sin diseñar la pag ni nada, solo con los botones y las letras miralo aqui el codigo:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
</head>

<?php
$NOMBRE=$_POST['NOMBRE'];
$EMPRESA=$_POST['EMPRESA'];
$PROVINCIA=$_POST['PROVINCIA'];
$EMAIL=$_POST['EMAIL'];
$TELEFONO=$_POST['TELEFONO'];
$CONTRASEÑA=$_POST['CONTRASEÑA'];

msql_connect("localhost","xntucasa_ayose","AQUI LA CONTRASEÑA");
mysql_select_db("xntucasa_base1");

mysql_query(*INSERT INTO tabla(USUARIOS) VALUES('$NOMBRE','$EMPRESA','$PROVINCIA','$EMAIL','$TELEFONO','$CONTRASEÑA')*);

?>

<body>
<form id="form1" name="form1" method="post" action="">
nombre:
<label>
<input name="NOMBRE" type="text" id="NOMBRE" />
</label>
<p>empresa:
<label>
<input name="EMPRESA" type="text" id="EMPRESA" />
</label>
</p>
<p>provincia:
<label>
<input name="PROVINCIA" type="text" id="PROVINCIA" />
</label>
</p>
<p>email:
<label>
<input name="EMAIL" type="text" id="EMAIL" />
</label>
</p>
<p>telefono:
<label>
<input name="TELEFONO" type="text" id="TELEFONO" />
</label>
</p>
<p>contrase&ntilde;a:
<label>
<input name="CONTRASE&Ntilde;A" type="text" id="CONTRASE&Ntilde;A" />
</label>
</p>
<p>
<label>
<input type="submit" name="Submit" value="Enviar" />
</label>
</p>
</form>


</body>
</html>
Te da el mismo error en la misma linea porque no has cambiado lo que te he comentado, si te lees la respuesta de 2 mensajes anteriores te explico porque no se pone asi y como se puede hacer para solucionar el error.

PD: Mejor dime siempre la URL de la web tambien para ver (ademas del codigo que copies aqui) el error que da.
hay perdon, no me di cuenta, lo hice como tu dices ahora:

y este es el error:

http://www.xn--tucasaenespaa-tkb.com/formulario.php


y este es el codigo:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
</head>

<?php
$NOMBRE=$_POST['NOMBRE'];
$EMPRESA=$_POST['EMPRESA'];
$PROVINCIA=$_POST['PROVINCIA'];
$EMAIL=$_POST['EMAIL'];
$TELEFONO=$_POST['TELEFONO'];
$CONTRASEÑA=$_POST['CONTRASEÑA'];

msql_connect("localhost","xntucasa_ayose","AQUI CONTRASEÑA DE USUARIO");
mysql_select_db("xntucasa_base1");

$query = "INSERT INTO tabla(USUARIOS) VALUES('$NOMBRE','$EMPRESA','$PROVINCIA','$EMAIL', '$TELEFONO','$CONTRASEÑA')";
mysql_query($query);

?>

<body>
<form id="form1" name="form1" method="post" action="">
nombre:
<label>
<input name="NOMBRE" type="text" id="NOMBRE" />
</label>
<p>empresa:
<label>
<input name="EMPRESA" type="text" id="EMPRESA" />
</label>
</p>
<p>provincia:
<label>
<input name="PROVINCIA" type="text" id="PROVINCIA" />
</label>
</p>
<p>email:
<label>
<input name="EMAIL" type="text" id="EMAIL" />
</label>
</p>
<p>telefono:
<label>
<input name="TELEFONO" type="text" id="TELEFONO" />
</label>
</p>
<p>contrase&ntilde;a:
<label>
<input name="CONTRASE&Ntilde;A" type="text" id="CONTRASE&Ntilde;A" />
</label>
</p>
<p>
<label>
<input type="submit" name="Submit" value="Enviar" />
</label>
</p>
</form>


</body>
</html>
Modifica la linea 16 y 17 sustituyendolas por estas:

$conexion = msql_connect("localhost","xntucasa_ayose","AQUI CONTRASEÑA DE USUARIO");
mysql_select_db("xntucasa_base1", $conexion);

Si no te funciona me dices....ETIQUETA CODE, el simbolito ese #
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
</head>

<?php
$NOMBRE=$_POST['NOMBRE'];
$EMPRESA=$_POST['EMPRESA'];
$PROVINCIA=$_POST['PROVINCIA'];
$EMAIL=$_POST['EMAIL'];
$TELEFONO=$_POST['TELEFONO'];
$CONTRASEÑA=$_POST['CONTRASEÑA'];

$conexion = msql_connect("localhost","xntucasa_ayose","AQUI CLAVE");
mysql_select_db("xntucasa_base1", $conexion);

$query = "INSERT INTO tabla(USUARIOS) VALUES('$NOMBRE','$EMPRESA','$PROVINCIA','$EMAIL', '$TELEFONO','$CONTRASEÑA')";
mysql_query($query);

?>

<body>
<form id="form1" name="form1" method="post" action="">
  nombre: 
  <label>
  <input name="NOMBRE" type="text" id="NOMBRE" />
  </label>
  <p>empresa: 
    <label>
    <input name="EMPRESA" type="text" id="EMPRESA" />
    </label>
  </p>
  <p>provincia: 
    <label>
    <input name="PROVINCIA" type="text" id="PROVINCIA" />
    </label>
  </p>
  <p>email: 
    <label>
    <input name="EMAIL" type="text" id="EMAIL" />
    </label>
  </p>
  <p>telefono: 
    <label>
    <input name="TELEFONO" type="text" id="TELEFONO" />
    </label>
  </p>
  <p>contrase&ntilde;a: 
    <label>
    <input name="CONTRASE&Ntilde;A" type="text" id="CONTRASE&Ntilde;A" />
    </label>
  </p>
  <p>
    <label>
    <input type="submit" name="Submit" value="Enviar" />
    </label>
</p>
</form>


</body>
</html> 





bueno cambié lo que me dijistes y nada sigue el mismo problema :S
Perdon, el fallo era mas tonto, tienes puesto: msqlconnect y eso no existe, te falta un y, es: mysql_connect("localhost","xntucasa_ayose","AQUI CLAVE");
me alegro de que eso se haya solucionado; sustituye tu codigo por este:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
</head>

<?php
$NOMBRE=$_POST['NOMBRE'];
$EMPRESA=$_POST['EMPRESA'];
$PROVINCIA=$_POST['PROVINCIA'];
$EMAIL=$_POST['EMAIL'];
$TELEFONO=$_POST['TELEFONO'];
$CONTRASEÑA=$_POST['CONTRASENA'];

$conexion = mysql_connect("localhost","xntucasa_ayose","AQUI CLAVE");
mysql_select_db("xntucasa_base1", $conexion);
if ($NOMBRE <> ""){
$query = "INSERT INTO tabla(USUARIOS) VALUES('$NOMBRE','$EMPRESA','$PROVINCIA','$EMAIL', '$TELEFONO','$CONTRASEÑA')";
echo "QUERY= '" .$query ."'";
$a = mysql_query($query);
}

?>

<body>
<form id="form1" name="form1" method="post" action="formulario.php">
  nombre: 
  <label>
  <input name="NOMBRE" type="text" id="NOMBRE" />
  </label>
  <p>empresa: 
    <label>
    <input name="EMPRESA" type="text" id="EMPRESA" />
    </label>
  </p>
  <p>provincia: 
    <label>
    <input name="PROVINCIA" type="text" id="PROVINCIA" />
    </label>
  </p>
  <p>email: 
    <label>
    <input name="EMAIL" type="text" id="EMAIL" />
    </label>
  </p>
  <p>telefono: 
    <label>
    <input name="TELEFONO" type="text" id="TELEFONO" />
    </label>
  </p>
  <p>contrase&ntilde;a: 
    <label>
    <input name="CONTRASENA" type="text" id="CONTRASENA" />
    </label>
  </p>
  <p>
    <label>
    <input type="submit" name="Submit" value="Enviar" />
    </label>
</p>
</form>


</body>
</html>

Con eso cuando lo tengas me lo dices y asi vemos que consulta pretende realizar para seguir avanzando.
Te muestra el codigo pero no te lo hace bien porque esta mal la consulta; deberia ser asi:

$query = "INSERT INTO USUARIOS (`nombre` ,`empresa` ,`provincia` ,`email` ,`telefono`, 'contraseña' ) VALUES('$NOMBRE','$EMPRESA','$PROVINCIA','$EMAIL', '$TELEFONO','$CONTRASENA')";

Revisa bien que los datos de la tabla se llaman asi; es aconsejable que no pongas ñ como nombres de campos para evitar problemas (mejor contrasena); y tambien es aconsejable encriptar la contraseña con MD5

Si con eso te funciona pero te sigue el poniendo el codigo (que lo hara) me lo dice y te lo quito.

Un saludo.
ya lo revise todo victor, en la tabla cambien CONTRASEÑA por CONTRASENA.

y el codigo esta como tu dices:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
</head>

<?php

$NOMBRE=$_POST['NOMBRE'];
$EMPRESA=$_POST['EMPRESA'];
$PROVINCIA=$_POST['PROVINCIA'];
$EMAIL=$_POST['EMAIL'];
$TELEFONO=$_POST['TELEFONO'];
$CONTRASENA=$_POST['CONTRASENA'];

$conexion = mysql_connect("localhost","xntucasa_ayose",".......");
mysql_select_db("xntucasa_base1", $conexion);



if ($NOMBRE <> "")

{

$query = "INSERT INTO USUARIOS (`NOMBRE` ,`EMPRESA` ,`PROVINCIA` ,`EMAIL` ,`TELEFONO`, 'CONTRASENA' ) VALUES('$NOMBRE','$EMPRESA','$PROVINCIA','$EMAIL', '$TELEFONO','$CONTRASENA')";
echo "QUERY= '" .$query ."'";
$a = mysql_query($query);

}

?>

<body>
<form id="form1" name="form1" method="post" action="formulario.php">
  nombre: 
  <label>
  <input name="NOMBRE" type="text" id="NOMBRE" />
  </label>
  <p>empresa: 
    <label>
    <input name="EMPRESA" type="text" id="EMPRESA" />
    </label>
  </p>
  <p>provincia: 
    <label>
    <input name="PROVINCIA" type="text" id="PROVINCIA" />
    </label>
  </p>
  <p>email: 
    <label>
    <input name="EMAIL" type="text" id="EMAIL" />
    </label>
  </p>
  <p>telefono: 
    <label>
    <input name="TELEFONO" type="text" id="TELEFONO" />
    </label>
  </p>
  <p>contrase&ntilde;a: 
    <label>
    <input name="CONTRASENA" type="password" id="CONTRASENA" />
    </label>
  </p>
  <p>
    <label>
    <input type="submit" name="Submit" value="Enviar" />
    </label>
</p>
</form>


</body>
</html>

no tengo ni idea que puede fallar, pero el registro no se hace en la base de datos :S
Sustituye por esto:

$a = mysql_query($query);

Si no te funciona, prueba a colocar este codigo en otra pagina

<?php
$con = mysql_connect("localhost","peter","abc123");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

mysql_select_db("my_db", $con);

mysql_query("INSERT INTO Persons (FirstName, LastName, Age)
VALUES ('Peter', 'Griffin', '35')");

mysql_query("INSERT INTO Persons (FirstName, LastName, Age) 
VALUES ('Glenn', 'Quagmire', '33')");

mysql_close($con);
?>

Y colocando un INSERT con datos reales sin sacar los datos de la variable.

Ya me cuentas.
Ten cuidado que en estas lineas te esta dando error:

$conexion = mysql_connect("localhost","xntucasa_ayose",".......");
mysql_select_db("xntucasa_base1");

Asegurate de que el usuario, contraseña, etc son correctos porque yo accedo al formulario y me da error ahi; y eso es cosa de la contraseña o nombre de usuario.
POR FIN!!!! ejejeje bueno cogí un tutorial y lo hice (bueno con las palabras que el puso, ahora lo diseño y ya esta pero ya esta hecho y se guardan en la base de datos ) jejeejej

victor muchas gracia por tu ayuda men!
De nada, me alegro de que se solucionara; el resto de problemas y cosas que te vayan surgiendo ves preguntando.
sisi gracias, mira sabes como hacer para poder ir subiendo las cosas al cpanel para probar y eso pero quenadie lo puede ver? por ejemplo ahora cualquiera entra en www.tucasaenespaña.com y puede hacer lo del registro (aunque lo tengo que arreglar todo ejeje) sabes para poder ir probando las cosas y no entre nadie, solo yo para ver ocmov a quedando