Me da los siguientes errores:
Warning: mysql_query(): Access denied for user 'ODBC'@'localhost' (using password: NO) in c:\appserv\www\idv\admin\editar.php on line 12
Warning: mysql_query(): A link to the server could not be established in c:\appserv\www\idv\admin\editar.php on line 12
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\appserv\www\idv\admin\editar.php on line 13
10 $id = ($_GET["id"]);
11 $query = "SELECT * FROM `ofertas` WHERE id='$id'";
12 $result = mysql_query($query);
13 while ($r = mysql_fetch_array($result)) {
...
aqui va codigo vario
...
31 }
Haber si me podeis ayudar y gracias de antemano.
Bye