# PHP multipl queries

**URL:** <https://forum.kirupa.com/t/php-multipl-queries/180244>\
**Category:** programming\
**Created:** [February 27, 2006, 8:01am UTC](https://forum.kirupa.com/t/php-multipl-queries/180244 "2006-02-27T08:01:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FreakSheep](https://avatars.discourse-cdn.com/v4/letter/f/d9b06d/32.png) [@FreakSheep](https://forum.kirupa.com/u/FreakSheep)\
**Post date:** [February 27, 2006, 8:01am UTC](https://forum.kirupa.com/t/php-multipl-queries/180244/1 "2006-02-27T08:01:40Z")

</div>

Alright, I’m trying to get 2 things of information from the db, and im using 2 querires to get it. I know for afact that the query returns what i need, so i know its not hte query.

Here’s my code for the connection:

```php
$getPages = mysql_query("SELECT FILE,member FROM usersonline WHERE member>0 GROUP BY member \;SELECT FILE,member FROM usersonline WHERE member=0;",$conn) or die(mysql_error());

```

I’ve tried putting forward slashes and another semicolon before the semicolon, but nothing seems to be working ☹

anyone?
