Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /var/www/vhosts/videoart000039/httpdocs/_codice/_config/_mysql.php on line 65 Warning: mysql_query(): A link to the server could not be established in /var/www/vhosts/videoart000039/httpdocs/_codice/_config/_mysql.php on line 65 Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/vhosts/videoart000039/httpdocs/_codice/_config/_mysql.php on line 68
DROP FUNCTION IF EXISTS `_rubrica_generaElencoCellulariContatto`//
CREATE FUNCTION `_rubrica_generaElencoCellulariContatto`(idContatto int) RETURNS text CHARSET latin1
  DETERMINISTIC
BEGIN

  # questa funzione genera l'elenco dei cellulari del contatto dato con la relativa descrizione

  declare a text;

  set a = '';

  SELECT
    group_concat(
      concat(_rubrica_cellulari.descrizione,' ',_rubrica_cellulari.numero)
      separator '
' ) FROM _rubrica_cellulari WHERE _rubrica_cellulari.id_contatto = idContatto GROUP BY _rubrica_cellulari.id_contatto INTO a ; RETURN a; END
Warning: mysql_num_rows() expects parameter 1 to be resource, null given in /var/www/vhosts/videoart000039/httpdocs/_codice/_moduli/_newsletter/_config.php on line 45 Warning: mysql_result() expects parameter 1 to be resource, null given in /var/www/vhosts/videoart000039/httpdocs/_codice/_moduli/_notifiche_automatiche/_config.php on line 40 Warning: mysql_num_rows() expects parameter 1 to be resource, null given in /var/www/vhosts/videoart000039/httpdocs/_codice/_moduli/_notifiche_automatiche/_config.php on line 42 Warning: mysql_result() expects parameter 1 to be resource, null given in /var/www/vhosts/videoart000039/httpdocs/_codice/_moduli/_notifiche_automatiche/_config.php on line 118 Warning: mysql_result() expects parameter 1 to be resource, null given in /var/www/vhosts/videoart000039/httpdocs/_codice/_moduli/_notifiche_automatiche/_config.php on line 119 Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 72 bytes) in /var/www/vhosts/videoart000039/httpdocs/_codice/_config.php on line 451