# Need Mysql/php help.

**URL:** <https://pheromonetalk.com/t/need-mysql-php-help/30087>\
**Category:** Lounge\
**Created:** [June 23, 2009, 12:32am UTC](https://pheromonetalk.com/t/need-mysql-php-help/30087 "2009-06-23T00:32:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![djandarial](https://sea2.discourse-cdn.com/flex016/user_avatar/pheromonetalk.com/djandarial/32/1667_2.png) [@djandarial](https://pheromonetalk.com/u/djandarial)\
**Post date:** [June 23, 2009, 12:32am UTC](https://pheromonetalk.com/t/need-mysql-php-help/30087/1 "2009-06-23T00:32:54Z")

</div>

anyone know this? I need some help on a query php script

let me know.

---

<div class="post-metadata">

**Author:** ![fantisto](https://sea2.discourse-cdn.com/flex016/user_avatar/pheromonetalk.com/fantisto/32/2102_2.png) [@fantisto](https://pheromonetalk.com/u/fantisto)\
**Post date:** [June 23, 2009, 1:31am UTC](https://pheromonetalk.com/t/need-mysql-php-help/30087/2 "2009-06-23T01:31:01Z")

</div>

Just tell me if there is anything I could help.

---

<div class="post-metadata">

**Author:** ![djandarial](https://sea2.discourse-cdn.com/flex016/user_avatar/pheromonetalk.com/djandarial/32/1667_2.png) [@djandarial](https://pheromonetalk.com/u/djandarial)\
**Post date:** [June 23, 2009, 2:31am UTC](https://pheromonetalk.com/t/need-mysql-php-help/30087/3 "2009-06-23T02:31:17Z")

</div>

I need a connect script to pull all the array’s that were imploded into 4 columns in the table `tickets` in the DB eticketlive

I need it to query based upon month of creation of given year

then to display the breakdown of the unique array hits and the number of hits for each category that are in the array.

Check boxes of forms requested so I need the output like this

I20 form: 30  
Job Letter: 14  
Driver license: 77

I need one script to do it all, and a separate script to individually search for a given variable, it is a full text string imploded separated by commas

---

<div class="post-metadata">

**Author:** ![djandarial](https://sea2.discourse-cdn.com/flex016/user_avatar/pheromonetalk.com/djandarial/32/1667_2.png) [@djandarial](https://pheromonetalk.com/u/djandarial)\
**Post date:** [June 23, 2009, 2:32am UTC](https://pheromonetalk.com/t/need-mysql-php-help/30087/4 "2009-06-23T02:32:31Z")

</div>

so one script that pulls all four columns and array unique count and displays them.

and one that I can select the column and have it display unique and # of hits on each one. So I can make the output look pretty.

---

<div class="post-metadata">

**Author:** ![fantisto](https://sea2.discourse-cdn.com/flex016/user_avatar/pheromonetalk.com/fantisto/32/2102_2.png) [@fantisto](https://pheromonetalk.com/u/fantisto)\
**Post date:** [June 23, 2009, 2:52am UTC](https://pheromonetalk.com/t/need-mysql-php-help/30087/5 "2009-06-23T02:52:33Z")

</div>

hmmm, that might be beyond my capacity. I dono that much.  
But it would be great if you can make the database/table structure and relation clear, then maybe other people here could help you easier.
