# Can you create alt tags using php?

**URL:** <https://forum.kirupa.com/t/can-you-create-alt-tags-using-php/242034>\
**Category:** programming\
**Created:** [October 21, 2007, 12:48pm UTC](https://forum.kirupa.com/t/can-you-create-alt-tags-using-php/242034 "2007-10-21T12:48:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pp4sale](https://avatars.discourse-cdn.com/v4/letter/p/ee7513/32.png) [@pp4sale](https://forum.kirupa.com/u/pp4sale)\
**Post date:** [October 21, 2007, 12:48pm UTC](https://forum.kirupa.com/t/can-you-create-alt-tags-using-php/242034/1 "2007-10-21T12:48:31Z")

</div>

I have lots of pictures of properties on my site that currently have no alt tags, does anyone know if you can create alt tags that pull data from a mysql database.

So for instance the alt tag could show the region, price and country etc by pulling that info from a table?

Thank you!!!
