Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 05-07-2005, 09:35 AM Some PHP Help
Karl89.co.uk's Avatar
Novice Talker

Posts: 7
Trades: 2
I am creating a games review website where all the information is kept in the database. I want to be able to get the reviews from the database and put them into a template.

However I want a seperate link for each of the reviews..eg,

reviews.php?type=console&id=1

Can somebody explain how I can do this?

Last edited by Karl89.co.uk; 05-07-2005 at 09:41 AM..
Karl89.co.uk is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-07-2005, 10:40 AM
TyR
TyR's Avatar
Super Talker

Posts: 139
Location: Frei - Norway
Trades: 0
well, you can use $_GET['id'] to get the id from the url, then u have to fetch the review with the same id from the database.
i wont start explaining how to do all that, cuz i dunno how your database it and stuff...

look at www.php.net/mysql if you dont know how to use mysql
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
TyR is offline
Reply With Quote
View Public Profile
 
Old 05-07-2005, 10:56 AM
Karl89.co.uk's Avatar
Novice Talker

Posts: 7
Trades: 2
Thanks very much for your help mate.
Karl89.co.uk is offline
Reply With Quote
View Public Profile
 
Old 05-07-2005, 10:58 AM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
Have you used any kind of loops yet? If so let me know so I can explain it with psuedo code, otherwise if not I will provide a more rich example.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Old 05-07-2005, 10:58 AM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
Nevermind my last post, I was thinking of something else.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Old 05-07-2005, 12:58 PM
Karl89.co.uk's Avatar
Novice Talker

Posts: 7
Trades: 2
No worries mate.
Karl89.co.uk is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Some PHP Help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.78523 seconds with 12 queries