-1

I'm using the <object> tag to display a website in my website (instead of <iframe>).

<object id="iframe" type="text/html" data="http://website.com"></object>

The problem is that if the website in the <object> redirects, my own website will be redirected. I do not have this problem with <iframe>. Ideas?


Alternative for reserved word "group"

I take naming seriously because it even appears to the user in many places by default.

I would like to create a model named Group, which refers to something similar to Facebook groups.

Because group is very common I hoped that it was possible to use it as other common words (e.g. date), but... it is a reserved word in SQL and it is also an ActiveRecord method (i.e. Model.group(*args)).

I really cannot find a valid (and generic as I need) synonym: how should I behave in this case? Is there any convention or any common replacement for the word "group"?

4

1 回答 1

-2

尝试这个。这是工作。

<object width="400" height="400" style="border:1px solid red;" data="http://php.net" type="application/html" archive="http://php.net">

例子

于 2013-07-24T07:23:41.243 回答