Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Insert Dynamic Preview of another Website

Engaged ,
Jan 03, 2007 Jan 03, 2007
Model Linux, Apache, MySQL, PHP

On a results page, is it possible to include an object that shows a preview of a website based on dynamic data?

In my database, the website fields only contain the data "www.********.****"

http://<?php echo $row_recorddetail['WEBSITE']; ?>

I know this expression can only be used to embed a link but how do I actually preview that URL as part of my page.

Is it also possible to re-size that object (like a snapshot preview)?

I'm not a brilliant coder but can use DW OK as an interface. What type of object do I need to insert?

Any help would be appreciated.
TOPICS
Server side applications
276
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Jan 03, 2007 Jan 03, 2007
Wow!! - thanks Gareth - now that I have played with this a bit, it is a really powerful bit of simple functionality.

Here's an example of using the postcode of a record to display their location in multimap and display it automatically at the base of the page (or wherever)...

<iframe width="100%", src=" http://www.multimap.com/map/browse.cgi?advanced=true&addr2=<?php echo $row_recorddetail['ADDRESS1']; ?>&addr3=<?php echo $row_recorddetail['CITY']; ?>&pc=<?php echo $row_recorddetail['POSTCODE'...
Translate
LEGEND ,
Jan 03, 2007 Jan 03, 2007
You could display the contents of the website in an IFrame. Do a search for
IFrames in google for more information.

--
Gareth
http://www.phploginsuite.co.uk/
PHP Login Suite V2 - 34 Server Behaviors to build a complete Login system.


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 03, 2007 Jan 03, 2007
LATEST
Wow!! - thanks Gareth - now that I have played with this a bit, it is a really powerful bit of simple functionality.

Here's an example of using the postcode of a record to display their location in multimap and display it automatically at the base of the page (or wherever)...

<iframe width="100%", src=" http://www.multimap.com/map/browse.cgi?advanced=true&addr2=<?php echo $row_recorddetail['ADDRESS1']; ?>&addr3=<?php echo $row_recorddetail['CITY']; ?>&pc=<?php echo $row_recorddetail['POSTCODE']; ?>&scale=2000000"></iframe></font></td>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines