Hi,
Imagine there is a tbl called "users" and it has a column called "your blog url".
Now, imagine you want to display that blog's url in an iframe on one of your pages. How would you code it ?
I did the following but the iframe fails to load the webpage.
I guess this is due to me failing to get the iframe to pic one url or one entry from the "your blog url" column.
The best attempt I made was this:
[code]
<?php
//Display User's blog?>
<iframe src="<?php $row["blog"];?>"></iframe>
[/code]
How would you code it yourself ? Imagine, you want to display in the iframe the url that is the final entry in the "your blog url" column in users tbl in mysql db.
Imagine the tbl looks like this:
users
id|your_blog_url
6|http://myownblog.com
And since the "http://myownblog.com" is the final entry in the "your_blog_url" column you want to load that in the iframe.
Whatever sample you provide, make sure it works by checking it in your wamp/xampp before adding your code in this thread.
Thanks!