The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

PHP Code for posts
passing id number (1 post)

  1. Taneya
    Posted 3 years ago #


    I just started using this plugin today and so far it's great! I have been able to get it to work on two pages on my site. However, I now have a question. I have a page for showing search results that requires an ID number to be passed from one page to the next. With the plugin, I am not sure how to construct the URL to pass it.

    The site I just started is http://www.aahgsnashville.org/hbcuproject/search. Do a keyword search for the word "fisk" and click on Details. When going from the results page to the details page, the variable newsid is passed and the current details page is a page template modification, not a page that uses the plugin. The results page does use the plugin however and in the field for details I have a statement

    $s .= "<tr><td>Details</td>";

    What would I put instead of detailspage.php?id= in order to pass the variable to a page that would use the plugin.

    Hope this makes sense. I have VERY little knowledge of php and basically tweaked some code someone else put together for me to cobble this together. Thanks!



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PHP Code for posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic