# Query Strings and Tables

**URL:** <https://forum.kirupa.com/t/query-strings-and-tables/159160>\
**Category:** programming\
**Created:** [August 15, 2005, 2:04pm UTC](https://forum.kirupa.com/t/query-strings-and-tables/159160 "2005-08-15T14:04:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ferghal](https://avatars.discourse-cdn.com/v4/letter/f/977dab/32.png) [@Ferghal](https://forum.kirupa.com/u/Ferghal)\
**Post date:** [August 15, 2005, 2:04pm UTC](https://forum.kirupa.com/t/query-strings-and-tables/159160/1 "2005-08-15T14:04:08Z")

</div>

Im having a problem, my layout works perfectly without query strings, but when I add the code it comes up like this:  
[http://beta.invalidpixel.com](http://beta.invalidpixel.com) but when it should be like [http://www.invalidpixel.com](http://www.invalidpixel.com)

Im loading the news from a file called feeds.php and the code Im using for the query strings is:

```php
<?php
switch ($HTTP_GET_VARS[page]) {
//Default - case
default:
include "feed.php";
break;

//Habbo - Case
case 'other':
include 'other.php';
break;

}
?>

```

I cant figure out why when I add that code that it messes up, the right bar disappears completley but when the PHP isnt there, its perfect.

Any ideas?
