# Mysqlphp -- i hate what im doing!

**URL:** <https://forum.kirupa.com/t/mysqlphp-i-hate-what-im-doing/162534>\
**Category:** Uncategorized\
**Created:** [September 14, 2005, 5:48am UTC](https://forum.kirupa.com/t/mysqlphp-i-hate-what-im-doing/162534 "2005-09-14T05:48:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sith\_FuzZO](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@Sith\_FuzZO](https://forum.kirupa.com/u/Sith_FuzZO)\
**Post date:** [September 14, 2005, 5:48am UTC](https://forum.kirupa.com/t/mysqlphp-i-hate-what-im-doing/162534/1 "2005-09-14T05:48:10Z")

</div>

hi guys, this question is an approach question. I feel like im being redundant and i really dont like the way im going about this.

I have a mysql database and im creating a query to get &blah1= and &blah2= and so on.

so now i have about 50 blah variables and in flash, im making a for loop based on the rows and im populating an array filled with these blah values. My php script is running 3 queries – and i get results from 3 different tables and im running about ten string one1=jkjk one2=kjjkjk … three5=djkkdfk

this is what im talkng about it. The way im concatenating these strings, is the same approach after i goto into flash to populate the arrays.

is there a batter way??

thanks.
