View Full Version : PHP Module content showing above
Xplorer4x4
01-18-2006, 11:46 AM
I have a module set up to refer to a php file in the modules folder. The PHP file(in modules) simply requires the show_news.php script for a news script I have on my site. The proablem is it reads the iformation but places it above the Module Shell Template, instead of in it.
Any suggestions?
Xplorer4x4
01-19-2006, 10:43 AM
bump(sorry I know its not quite 24 hours)
Brian
01-19-2006, 01:54 PM
You're close enough to 24 hours, and thank you for reading the posting rules. :)
You need to either make sure that the output of your PHP file will contain some starting <tr><td> and ending </td></tr> tags around the content, or you should be able to add this code in the file to have the tags added in the template.
$show['tablerow'] = true;
Xplorer4x4
01-20-2006, 09:13 AM
If I added any <tr or <td> tags it gives a parse error but the "$show['tablerow'] = true;" think worked greeaat! Thank you!
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.