Variable dies
Posted: Sun Jan 23, 2011 3:46 pm
Hi, I got a problem with my variable dieing, when i require the view.
http://pastebin.com/hws7jcfQ
http://pastebin.com/r2jwZAgM
<a href="games.php?orderBy=price&console=<?php $console; ?>">Order By price</a>
<a href="games.php?orderBy=rating&console=<?php $console; ?>">Order By Rating</a>
<a href="games.php?orderBy=date&console=<?php $console; ?> ">Order By Date</a>
This is where when, you click the button it refreshes and sends $console back again, so the page knows which console, but console has died by this point?
http://pastebin.com/hws7jcfQ
http://pastebin.com/r2jwZAgM
<a href="games.php?orderBy=price&console=<?php $console; ?>">Order By price</a>
<a href="games.php?orderBy=rating&console=<?php $console; ?>">Order By Rating</a>
<a href="games.php?orderBy=date&console=<?php $console; ?> ">Order By Date</a>
This is where when, you click the button it refreshes and sends $console back again, so the page knows which console, but console has died by this point?