joelg Posted June 18, 2006 Share Posted June 18, 2006 Dear all PHP freaks,I've search the whole archive by now and havn't found answer to my problem, so I hope you can help me.I'm about to make my own website with a Content Management System and am now able to connect to and read/write to a MySQL database via dreamweaver. No problem until I turn my pages into frames. For example: I have a site where I wan't to ad text from my database. Everything works fine as you can see (ok, the text is offcurse just bullocks, but that's no problem, hihi): [a href=\"http://www.joel.biz/test/Finn/Index_ny.php\" target=\"_blank\"]http://www.joel.biz/test/Finn/Index_ny.php[/a]But then I make the Index_ny.php as a part of my lower frame in a frameset and the usual: {Recordset1.Overskrift_nyhed}{Recordset1.Brødtekst_nyhed}Continued...But then I make the Index_ny.php as a part of my lower frame in a frameset and the usual: "Recordset1.Overskrift_nyhed" "Recordset1.Brødtekst_nyhed" turns into small "php"-shields/icons with the result that my connection/getting data from my database dosn't work anymore?!!! What is it that I do wrong?Hope anyone can help me.Thanx alotBest regards JoelBy the way. Using Dreamweaver 8 on a mac os X 10.3.9. Quote Link to comment https://forums.phpfreaks.com/topic/12326-php-and-frames-in-dreamweaver/ Share on other sites More sharing options...
holly30 Posted June 19, 2006 Share Posted June 19, 2006 Hi,i think you've forgotten to 'require' the db-connection in your new page.The line you have too add will be something like:<?php require_once('Connections/NameOfYourConnection.php'); ?>That should do it! Quote Link to comment https://forums.phpfreaks.com/topic/12326-php-and-frames-in-dreamweaver/#findComment-47240 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.