Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

<iframe>...</iframe>


Reply

588 Views

Avatar
Eldar

22 March 2011 at 11:11am Community Member, 4 Posts

Hello!
I need to call some PHP script from my webpage via <iframe>:
<iframe src="banner.php" width="468" height="60" align="left">
blah blah blah
</iframe>
But banner.php must select MySQL database (see http://doc.silverstripe.org/sapphire/en/reference/sqlquery). I'm new in SS and don't understand how to implement the SS SQL Query in a stand along PHP script. Could somebody be so kind with help. Thanks!!!