Código PHP:
if ($_POST) {
$fondo=$_POST['fondo'];
$perfil=$_POST['perfil'];
$facebook=$_POST['facebook'];
$twitter=$_POST['twitter'];
$myspace=$_POST['myspace'];
$radio=$_POST['radio'];
$imagen1=$_POST['imagen1'];
$imagen2=$_POST['imagen2'];
$info=$_POST['info'];
$titulo1=$_POST['titulo1'];
$box1=$_POST['box1'];
$titulo2=$_POST['titulo2'];
$box2=$_POST['box2'];
$titulo3=$_POST['titulo3'];
$box3=$_POST['box3'];
mysql_query("UPDATE user_home SET fondo = '".$fondo."', info = '".$info."', imagen = '".$perfil."', imagen1 = '".$imagen1."', imagen2 = '".$imagen2."', facebook = '".$facebook."', twitter = '".$twitter."', myspace = '".$myspace."', radio = '".$radio."', titulo-box1 = '".$titulo1."', box1 = '".$box1."', titulo-box2 = '".$titulo2."', box2 = '".$box2."', titulo-box3 = '".$titulo3."', box3 = '".$box3."' WHERE id=2", $link);
}
Código PHP:
mysql_query("UPDATE user_home SET fondo = '".$fondo."' WHERE id=2", $link);
}
Código PHP:
mysql_query("UPDATE user_home SET fondo = '".$fondo."', info ='".$info."' WHERE id=2", $link);