Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

open item in new window code

General discussions related to php

Moderators: macek, egami, gesf

open item in new window code

Postby craiglowe » Thu Jun 28, 2012 8:31 am

Hi all hope somebody can help, I have a web site with a page I use to add motorhomes for sales through my CMS. http://aegmotorhomes.co.uk/used.php I then have a print button on each item for sale which then opens it in a new window and allows me to print. I have a tabbed panel template I use to list the items and also use this on 4 other pages.

Code below is what I use to open each item in a new window on the used.php page

perch/runtime.php'); ?> perch_content_custom('The Region Name', array( '_id'=>$_GET['id'], 'page'=>'/used.php' )); ?>

I want to be able to use this code on the other 4 pages and are wondering how I code the other pages into it. so code would be similar to this, thats if it is possible:

perch/runtime.php'); ?> perch_content_custom('The Region Name', array( '_id'=>$_GET['id'], 'page'=>'/used.php', /swift.php, /escape.php, /romahome.php, /autocruise.php )); ?>
craiglowe
New php-forum User
New php-forum User
 
Posts: 1
Joined: Thu Jun 28, 2012 8:21 am

Return to PHP General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron