Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/06/2004, 08:59
Avatar de The_Dark_Roy
The_Dark_Roy
 
Fecha de Ingreso: enero-2004
Mensajes: 218
Antigüedad: 20 años, 3 meses
Puntos: 0
<?
$textoinfo = $_POST["textoinfo"];

$SQLid=mysql_connect (host, usuario, clave) or die ("No es posible conectase por la siguiente razon: ". mysql_error());
mysql_select_db ("encuesta");

$SQLquery = "UPDATE infoutil SET texto = $textoinfo";
$SQLresult = mysql_query($SQLquery) or die ("CONSULTA INVÀLIDA POR ALGUNA SENTENCIA MAL ESCRITA !!!");
?>
supongo que en la antes de esa sentencia haces eso
$dbhost ="host.com";
$dbuser ="soyyo";
$dbpass ="password";
mysql_connect($dbhost,$dbuser,$dbpass)
__________________
ojala te hayas quitado la venda

http://www.surire.cl
http://www.uta.cl