navyet1 Posted December 17, 2006 Share Posted December 17, 2006 I'm not sure if this is the right place... but I have a question. I'm using phpbb2, but am trying to make that just a section of the site. I'm creating a front page using PHPEdit and in the middle of index.html, i have some PHP code. Kinda like this:<tr> <td> <?php some variable some sql queries echo $row['post_text']; ?> </td></tr></table>This does not seem to be outputting anything, but I get no errors. is this the wrong way to go about putting database data on to the browser? Quote Link to comment https://forums.phpfreaks.com/topic/30929-integrating-php-and-html-and-hoping-to-display-both-outputs/ Share on other sites More sharing options...
woocha Posted December 17, 2006 Share Posted December 17, 2006 did you check the phpbb forums on phpbb.com....they have tons of great advise. Quote Link to comment https://forums.phpfreaks.com/topic/30929-integrating-php-and-html-and-hoping-to-display-both-outputs/#findComment-142792 Share on other sites More sharing options...
Hypnos Posted December 21, 2006 Share Posted December 21, 2006 I don't get it. index.html is a page you made? Or a page you found and edit as a part of phpbb? First of all, it ends as .html, so it won't run through PHP in most installations. Secondly, phpbb uses a template system. If you try to echo anything, you'll probably find it at the very top or bottom of the page. You need to better explain what you're trying to do. Quote Link to comment https://forums.phpfreaks.com/topic/30929-integrating-php-and-html-and-hoping-to-display-both-outputs/#findComment-145623 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.