PHP Notice: Undefined variable
PHP Notice: Use of undefined constant
En el servidor viejo no me registraba estos problemas, y no se ha hecho modificacion alguna.
Las variables estan definidas asi:
Código:
<? $listed_video = 0; $dbhost = "xxx"; $dbuser = "xxx"; $dbpw = "xxx"; $dbname = "xxx"; mysql_connect($dbhost,$dbuser,$dbpw) or die("Unable to connect to database"); mysql_select_db($dbname) or die("Unable to select database");