# Combine text and images PHP MySQL

**URL:** https://forum.kirupa.com/t/combine-text-and-images-php-mysql/47325
**Category:** programming
**Created:** [April 2, 2004, 5:50pm UTC](https://forum.kirupa.com/t/combine-text-and-images-php-mysql/47325 "2004-04-02T17:50:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![imagined](https://avatars.discourse-cdn.com/v4/letter/i/a87d85/32.png) [@imagined](https://forum.kirupa.com/u/imagined)
#### Post date: [April 2, 2004, 5:50pm UTC](https://forum.kirupa.com/t/combine-text-and-images-php-mysql/47325/1 "2004-04-02T17:50:55Z")

</div>

I’m doing this CMS. I already can automatically parse URLs, and insert binary data into a MySQL database. Thanks to you guys.

I can insert JPGs or GIFs to my database, but what would be the best way to insert the image into the body of the page.

For example:

database: CONTENT

table: TEST (contains the text that’s supposed to go in the body)  
table: testBlobs (contains the images)

How can I display the text inside TEST and still display images inside testBlobs around the text?
