Re[2]: [PHP-ES] Mostrar imagen cuando exista algo
| From: | Pablo M. Rivas | Date: | Thu, 15 Jul 2004 21:55:07 +0000 |
| Subject: | Re[2]: [PHP-ES] Mostrar imagen cuando exista algo | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-50256@lists.php.net to get a copy of this message | ||
Hello Pedro,
Mas que claro, clarísimo...
la constante "link2" NO EXISTE, por lo tanto php asume que
'link2' es un VALOR...
tienes que cambiar por:
$checa_buzon=mysql_query("select * from fmonitoreoretroalimentacion where
acd='$registroacd' AND fechaactual='$muestrafechadiaactual' ",$link2 )
osea $link2 y NO link2
A LEER!!!!!!
http://www.php.net/manual/es/language.constants.php
http://www.php.net/manual/es/language.variables.php
Salu2
PM> Notice: Use of undefined constant link2 - assumed 'link2' in D:\Intranet
PM> HP\tipificacionllamada\feseguimiento\smbtelesales\fe_smbtelesalesprincipal.p
PM> hp on line 502
PM> Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource
PM> in D:\Intranet
PM> HP\tipificacionllamada\feseguimiento\smbtelesales\fe_smbtelesalesprincipal.p
PM> hp on line 502
PM> $checa_buzon=mysql_query("select * from fmonitoreoretroalimentacion
PM> where acd='$registroacd' AND fechaactual='$muestrafechadiaactual' ",
PM> link2 )
PM> ; //Esta es la linea 502
--
Best regards,
Pablo