# Combine text and images PHP MySQL

**URL:** <https://forum.kirupa.com/t/combine-text-and-images-php-mysql/106144>\
**Category:** Uncategorized\
**Created:** [April 2, 2004, 5:50pm UTC](https://forum.kirupa.com/t/combine-text-and-images-php-mysql/106144 "2004-04-02T17:50:55Z")\
**Posts on this page:** 3\
**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/106144/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?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 6, 2004, 2:19pm UTC](https://forum.kirupa.com/t/combine-text-and-images-php-mysql/106144/2 "2004-04-06T14:19:12Z")

</div>

Vash… you’re the man! Those tutorials really REALLY helped me. And yeah… it would be a great idea to write one yourself. I’ll surely read every word. You have been soooo helpful that I would like to add some comments in the little CMS where there is a list of THANKS, and you would surely be included… something like

Special thanks to  
Vash from [Kirupa.com](http://Kirupa.com)

It would be done in some weeks. I’ll try to post it in the Reviews Forum so you guys can see it. Thanks a whole lot man! 😃

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 6, 2004, 2:37pm UTC](https://forum.kirupa.com/t/combine-text-and-images-php-mysql/106144/3 "2004-04-06T14:37:09Z")

</div>

Sounds good. Right now I am actually rebuilding a CMS that I constructed almost a year ago. When I look at the old code its a wonder that it even worked at all, I really had no idea what I was doing. 🙂 I’m glad I helped.
