Msql Conect to another dathabase
-
Hy i have 3 site, i want to display on the first site , content from another, i do not want to use rss..
How can i connect to the other dathabase.
For example i have a file name mod_culina.php in theme file
On index i put<?php get_header(); ?> <div class="art-contentLayout"> <?php include (TEMPLATEPATH . '/topfront.php'); ?> <div class="art-cont"> <?php include (TEMPLATEPATH . '/mod_culinar.php'); ?> </div> <?php include (TEMPLATEPATH . '/sidebar2.php'); ?> </div> <div class="cleared"></div> <?php get_footer(); ?>
The mod_culinar look like this
[Code moderated as per the Forum Rules. Please use the pastebin]
If anny body know i can i connect to other dathabase to display content. on the page.
Thanks.
- The topic ‘Msql Conect to another dathabase’ is closed to new replies.