Link to new page to show data?

Lost please suggest a tutorial.

Page 1 of 1

1 Replies - 704 Views - Last Post: 04 October 2009 - 10:07 PM Rate Topic: -----

#1 crzyone9584  Icon User is offline

  • D.I.C Head

Reputation: 6
  • View blog
  • Posts: 201
  • Joined: 22-April 08

Link to new page to show data?

Posted 04 October 2009 - 07:01 PM

Thanks to this topic a couple months back i have been able to get the page up and running

http://www.dreaminco...h...=102412&hl=

http://crzyproductio...natio/test3.php

Due to some recent set backs in my personal life i haven't been able to get the game.php part right. I was wondering if some one new what function i would use to get the game information to show. I'm completely lost and have no idea where to start. Or waht to even search google for.

So what i want it to show is when a user clicks on the game name to go to game.php and show the box art description and other things that are in the database. I just don't know what to use. I was thinking the $_Get function but im not sure. Could some one please point me in the right direction?

Is This A Good Question/Topic? 0
  • +

Replies To: Link to new page to show data?

#2 noorahmad  Icon User is offline

  • Untitled
  • member icon

Reputation: 209
  • View blog
  • Posts: 2,290
  • Joined: 12-March 09

Re: Link to new page to show data?

Posted 04 October 2009 - 10:07 PM

first you need to add link tags to your game name <a href="game.php?id=<?php echo $result['id']?>... and then in game.php try to use $_GET['id'] to filter your query
select * from tblgames where id=".$_GET['id']
and than execute your query and show the result in your page.

:)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1