Tree View
Tree
List View
Alphabetical List
Share
Share
Search:
id:
190

name:

Embedding Data in your website



description:
If you have a hosted website you can use Qrimp as the database to show data on that website using either EMBED code or IFRAMES.

Using Embeds
Most savvy web users have seen the embed feature on news, music or video sharing sites. Embed codes contain HTML that links back to a database and pulls in and displays information in other websites. To learn more, visit the Share Data help topic.

Using IFRAMES

Before you create your IFRAME, write a query string (see Query String Parameters) that displays data the way you want it. Then write an IFRAME where the SRC of the IFRAME is the url to your Qrimp database query string. Then copy/paste the IFRAME into your website to display the results.

Re-sorting the Data in an IFRAME
When you want to re-sort the data or query it, you can use JavaScript to update the SRC tag of the IFRAME and the results will be redisplayed automatically. For example:

document.getElementById('results').src='http://mydatabase.qrimp.com/db.aspx?t=products&orderby=productcode';

or

document.getElementById('results').src='http://mydatabase.qrimp.com/db.aspx?t=products&orderby=color';

Searching IFRAMES
You can search your IFRAMES BY using a query string with search parameters. For example, to search for products where the product name contained the word "vinyl", you'd do something like this:
document.getElementById('results').src='http://mydatabase.qrimp.com/db.aspx?t=products&productnameop=CONTAINS&productnamequery=vinyl';



ParentTopic: