soltek Posted December 26, 2010 Share Posted December 26, 2010 Hey there, I guess, theres something wrong with this page, 'cause it isnt loading the page I'm trying to include, please take a look: <? require "/backend/functions.php"; $con = mysql_connect('localhost', 'mdown', 'e5r8htt9'); mysql_select_db("actual", $con); dbconn(true); ?> <html> <body BGCOLOR="#000000"> [...] </style> <div class="wrapper"> <div class="rec"> <img src=test/recs.png border=0> </div> <div class="hormenu"> <img src=test/hormenu.png border=0> </div> <div class="cpanel"> <img src=test/cpanel.png border=0> </div> <div class="menu"> <img src=test/menu.png border=0> </div> <div class="baresq"> <img src=test/baresq.png border=0> </div> <div class="table"> <? include 'home/newtable.php'; ?> </div> <div class="bardir"> <img src=http://mdown.org/tretas/teste.V4/bardir.png border=0> </div> </div> </body> </html> Now the page with this code isnt showing anything inside the TABLE div and I guess it should display the content of newtable.php. The newtable.php is working perfectly and the is just the data selected from a table. Any idea about where did I messed up? thanks Link to comment https://forums.phpfreaks.com/topic/222679-include-function-problem/ Share on other sites More sharing options...
Imaulle Posted December 26, 2010 Share Posted December 26, 2010 try require_once('/backend/functions.php'); Link to comment https://forums.phpfreaks.com/topic/222679-include-function-problem/#findComment-1151574 Share on other sites More sharing options...
Imaulle Posted December 26, 2010 Share Posted December 26, 2010 nevermind didn't read the 2nd part Link to comment https://forums.phpfreaks.com/topic/222679-include-function-problem/#findComment-1151575 Share on other sites More sharing options...
soltek Posted December 26, 2010 Author Share Posted December 26, 2010 Bah, I'm sorry. I was loading the html page, not the php. But thanks for trying to help, buddy. Link to comment https://forums.phpfreaks.com/topic/222679-include-function-problem/#findComment-1151576 Share on other sites More sharing options...
Imaulle Posted December 26, 2010 Share Posted December 26, 2010 I know how you feel a few days ago I spent hours trying to figure out what was wrong with my sql queries, but I never flippin added the user to the database haha Link to comment https://forums.phpfreaks.com/topic/222679-include-function-problem/#findComment-1151577 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.