He probado con header, pero no me funciona...
Os dejo el codigo:
Código:
<body>
<p align="center"><img border="0" src="webzenlogo.jpg" width="256" height="195"><br>
<center><b>Write you User Name / Escribe tu Nombre de Usuario</b><br>
<form method="get" action="<?php echo $_SERVER['PHP_SELF'];?>">
<input type="text" name="input" />
<input type="submit" name="submit" value="Go" />
</form></center>
<?PHP
if (isset($_GET['input'])){
$useracc = $_GET['input'];
$sql_check = mssql_query("SELECT CashPoints FROM MEMB_INFO where memb___id='$useracc'");
$res = mssql_fetch_row($sql_check);
$cred = mssql_fetch_row(mssql_query("SELECT CashPoints from MEMB_INFO where memb___id='$useracc'"));
$sumapuntos = implode($cred);
$puntosasumar = 150;
$allcsp = $sumapuntos+$puntosasumar;
$exe_credit = mssql_query("UPDATE MEMB_INFO Set CashPoints='$allcsp' Where memb___id='$useracc'");
//Aqui iria el redireccionador, no?
}
?>
Desde ya, Gracias
Salu2
Ranslsad