Ver Mensaje Individual
  #21 (permalink)  
Antiguo 23/05/2013, 12:31
nerezza
 
Fecha de Ingreso: abril-2008
Mensajes: 13
Antigüedad: 16 años
Puntos: 0
Respuesta: Problema Actualizar datos MySQL

Cita:
Iniciado por gnzsoloyo Ver Mensaje
Genial...

Insisto: ¿En donde toma valor $which?

Busca la línea y dímelo, porque yo no la veo.
En el archivo settings.php aparece:

<?PHP
$SQL = "SELECT * from SETTINGS";
$result = mysql_query( $SQL );
while( $row = mysql_fetch_array( $result ) ) {
include 'query.php';}
if (empty($id)) {$x='&edit=';}else{$x='&edit=tru';}
?>

<form name="form1" method="post" action="app/function.php?which=SETTINGS&t1=URL&t2=PATH&return= settings<?php echo $x; ?>&t3=HOST&t4=USER&t5=RAK&t6=WSU&t7=DNR&t8=AUTOTER M">