I have a strange problem. 5% of its time; i get the error "No Database selected". Only on a page where i use iframes; called from out tab script.
Here is the "sometimes problem" page:
Every tab calls for a page and loads it into the iframe. The requested page get its content from the database like this:
$rsday1 = mysql_query($query_rsday1, $dbtdp) or die(mysql_error());
The connection is being asked with mysql_pconnect
.
I tried mysql_connect
but instead I got 100% the error.
I really cannot find the reason; i googled alot. I guess it has something to do with the MySQL; and not with the scripts. Maybe i'm wrong.
This is the used tab script:
In the iframe i use tje jcarousel:
Information about the server here
Thanks for helping or passing any ideas. Dave