# Minor "bug" while deploying EmbedCode on a website

**URL:** <https://community.wolfram.com/t/minor-bug-while-deploying-embedcode-on-a-website/2997>\
**Category:** Ideas\
**Tags:** wolfram-cloud\
**Created:** [August 17, 2014, 12:29pm UTC](https://community.wolfram.com/t/minor-bug-while-deploying-embedcode-on-a-website/2997 "2014-08-17T12:29:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![carloschida](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/carloschida/32/35773_2.png) [@carloschida](https://community.wolfram.com/u/carloschida)\
**Post date:** [August 17, 2014, 12:29pm UTC](https://community.wolfram.com/t/minor-bug-while-deploying-embedcode-on-a-website/2997/1 "2014-08-17T12:29:19Z")

</div>

I found that the code provided by EmbedCode is rather tricky when displayed on a website. I store the addresses of my CloudObjects in a database and when I want to display them with php my code stops working after displaying the iframe (for instance when I want to display two CloudObjects). I tried to replicate that result like this:

```
printf("<iframe src=\"%s\" width=\"800\" height=\"600\" />", $result['tool1']);
printf("<iframe src=\"%s\" width=\"800\" height =\"600\" />",$result['tool2']);

```

where `$result['tool1']` and `$result['tool2']` are the strings corresponding to the address of my CloudObjects.

Nevertheless, by using the same commands and the traditional close tabs `<iframe src="..." width=800 height=600></script>` it works.

I am aware that this is rather an issue with XHTML rendering but given that I tried opening my website with Safari, Chrome and Firefox, I think this might become handy for anything doing web development.
