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:
//Display User's blog?>
<iframe src="<?php $row["blog"];?>"></iframe>
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:
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.