Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 09-07-2010, 07:34 PM Php iframe module
ihsaan's Avatar
Extreme Talker

Posts: 155
Name: Ihsaan
Location: Botswana
Trades: 0
Hi all,

I need some advice..

I want to build a module that users can display in their websites. Example would be a news module that can be embeded into their website.. The news will be in a mysql database. Any tutorials out there for this specific thing?
__________________

Please login or register to view this content. Registration is FREE
ihsaan is offline
Reply With Quote
View Public Profile Visit ihsaan's homepage!
 
 
Register now for full access!
Old 09-07-2010, 09:26 PM Re: Php iframe module
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
You could use an iframe, or a javascript frontend with the content feed delivered as xml or html
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 09-08-2010, 03:20 AM Re: Php iframe module
ihsaan's Avatar
Extreme Talker

Posts: 155
Name: Ihsaan
Location: Botswana
Trades: 0
The reason i want it in the mySql database is because the content will mostly be numbers and i want to create a graph based on those numbers aswell. So the best thing is an iFrame?

On websites such as statcounter.com you have to register and then only do they give you the code. The code changes based on user settings. Where could i find something like this?
__________________

Please login or register to view this content. Registration is FREE
ihsaan is offline
Reply With Quote
View Public Profile Visit ihsaan's homepage!
 
Old 09-08-2010, 04:40 AM Re: Php iframe module
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
You do the same as Google do with analytics or adsense, You have some javascript on your site that communicates with a serverside script and writes the output to the page it runs on.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-08-2010, 07:48 AM Re: Php iframe module
ihsaan's Avatar
Extreme Talker

Posts: 155
Name: Ihsaan
Location: Botswana
Trades: 0
uhm.. now we gotting somewhere.. So if i'd search google for tutorials to acheive this what would i search for?
__________________

Please login or register to view this content. Registration is FREE
ihsaan is offline
Reply With Quote
View Public Profile Visit ihsaan's homepage!
 
Old 09-08-2010, 08:32 AM Re: Php iframe module
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
It's just the average AJAX type of script from your point of view, and a remote call from the end users point of view.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-08-2010, 09:05 AM Re: Php iframe module
Banned

Posts: 2
Name: Alexander Lukjanenko
Location: Ukraine
Trades: 0
The best way was in second post - it's iframe.
1. you develop php script that outputs html page for example example.com/get-data-from-db.php?start=12&stop=44 ....
2. end user website need just to insert iframe tag and point it to your php script -
<iframe src="http://example.com/get-data-from-db.php?start=12&stop=44" width="100" height="100" border="0" /></iframe>

Last edited by chrishirst; 09-08-2010 at 09:08 AM..
alexander.lukja is offline
Reply With Quote
View Public Profile Visit alexander.lukja's homepage!
 
Reply     « Reply to Php iframe module
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.31813 seconds with 12 queries