Irish SEO,  Marketing & Webmaster Discussion

 

php question

This is a discussion on php question within the Coding Help forums, part of the Webmaster Help category; i have a php page with result eg results.php and another with more details eg details.php on each of those ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Coding Help

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 13-03-2008, 08:47 PM
Frontpage User
 
Join Date: Apr 2007
Posts: 13
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Keewee6 will become famous soon enough
Default php question

i have a php page with result eg results.php and another with more details eg details.php on each of those results i want to link the two page via hyperlink that when you click on a result on the results page it goes to the details of that result on results.php to more details on details.php any tutorials or advice would be great

many thanks in advance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 13-03-2008, 08:56 PM
Wannabe Geek
 
Join Date: Oct 2007
Posts: 114
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
garycocs will become famous soon enough
Default

Think you'll have to explain a bit better!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 13-03-2008, 09:07 PM
louie's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 1,939
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
louie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud of
Send a message via Yahoo to louie Send a message via Skype™ to louie
Default

you could probably make use of Ajax to load the full details below the search result for that particular product.
__________________
:. Web Design & Development Web Design Ireland
:. Search Engines Optimization Search Engines Optimization
:. Directory Submission Directory Submission
:. News & Press Release Ireland GiveItSocks.com
:. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories
:. I Have 2 Find It Directory SEF Directory
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 14-03-2008, 11:34 PM
Wannabe Geek
 
Join Date: Oct 2007
Posts: 114
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
garycocs will become famous soon enough
Default

If you have your results like 1,2,3,4,5,6,7,8 and so on:
you could make the link <a href="details.php?result=1">Details</a>

In the details page then you would have a
$result = $_GET["result"] or something like that.

Where the variable $result contains the relevant information

w3schools has great tutorials:

PHP GET
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
php, question

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Ruby on Rails VS PHP Code Igniter gav240z Coding Help 10 03-02-2008 11:04 PM
General Blog questions & BLOG URL SEO question. Help Please? :-) Gman290 Search Engine Optimisation 4 07-12-2007 10:24 AM
PHP, OOPS! data typing Mike Coding Help 2 24-08-2007 02:44 PM
php question Keewee6 Coding Help 2 17-08-2007 12:51 PM
HELP :: PHP regular expression question littleBird Coding Help 3 13-03-2007 09:33 PM


All times are GMT +1. The time now is 08:20 AM.


Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.2.0