I have my home page that needs to do some checks for login (session.php) and it also has the most recent post from our wordpress blog. The wordpress lines need to be at top of index.php as well as the session.php include.
When I add in the session command I get several errors on the homepage. I think this may have to do with the wordpress open DB colliding with the normal mysql open DB via session.php. Has anyone run into this situation?
Do I need to trim down session.php specifically for the homepage and maybe not open the site db? Or so I handle the dual DB differently?
Thx
The error i get is similar to:
Warning: mysql_numrows() expects parameter 1 to be resource, boolean given in C:\wamp\www\Beta\includes\database.php on line 205
When I add in the session command I get several errors on the homepage. I think this may have to do with the wordpress open DB colliding with the normal mysql open DB via session.php. Has anyone run into this situation?
Do I need to trim down session.php specifically for the homepage and maybe not open the site db? Or so I handle the dual DB differently?
Thx
The error i get is similar to:
Warning: mysql_numrows() expects parameter 1 to be resource, boolean given in C:\wamp\www\Beta\includes\database.php on line 205