Codice PHP:
<?
include "config.php";
mysql_query ("DELETE FROM articoloticket WHERE id=".$id." ");
$db = mysql_connect("$dbserver", "$dbuser", "$dbpass");
mysql_select_db("$dbbase",$db);
?>
Mi da questo bell'errore
codice:
Notice: Undefined variable: id in c:\winnt\addins\help\easyphp1-7\www\delete.php on line 3
Warning: mysql_query(): Accesso non consentito per l'utente: 'ODBC@localhost' (Password: NO) in c:\winnt\addins\help\easyphp1-7\www\delete.php on line 3
Warning: mysql_query(): A link to the server could not be established in c:\winnt\addins\help\easyphp1-7\www\delete.php on line 3