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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

<iframe>...</iframe>


Go to End


1093 Views

Avatar
Eldar

Community Member, 4 Posts

22 March 2011 at 11:11am

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!!!