SELECT * FROM popup WHERE openyn = 'Y' and date1 <= date_format( now(), '%Y-%m-%d' ) and date2 >= date_format( now(), '%Y-%m-%d' ) AND sitekind REGEXP 'A' order by idx desc---(1)
Warning: mysql_query() [function.mysql-query]: Access denied for user 'intranet2'@'localhost' (using password: NO) in /home/Homepy/roenkr/wwwhome_test/Main_layerpop.html on line 6
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/Homepy/roenkr/wwwhome_test/Main_layerpop.html on line 6
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/Homepy/roenkr/wwwhome_test/Main_layerpop.html on line 7