Forum Moderators: coopster

Message Too Old, No Replies

New to Php

         

Victoria_B

7:09 pm on Feb 18, 2004 (gmt 0)

10+ Year Member



I've just started using php today so please go easy on me as this is a way stupid question...

I've got a webpage written in html and I've gotten hold of a script written in php that makes the webpage printer friendly. How do I call/link to the php script from my html page?

Victoria - Thank you! :)

Timotheos

7:35 pm on Feb 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Victoria,

Hmmm... we might need a little more information. Are there no instructions that come with this script?

Victoria_B

8:08 pm on Feb 18, 2004 (gmt 0)

10+ Year Member



Thanks Timotheos.

No - it just says... Simply place a link to "printer.php" on any (or all) of your pages and the script will do the rest.

I'm not passing any variables to the script, just linking / including it in my html page.

Victoria - *scratches her head?*

Timotheos

8:14 pm on Feb 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Right, I thought this might be the case.

So just put this on your html page.
<a href="printer.php">Printer Friendly</a>

Note: you might have to change the href to point to where your script is located.

Victoria_B

9:00 pm on Feb 18, 2004 (gmt 0)

10+ Year Member



D'oh! - Is that it? Wow! That's way too simple. I thought it would be something a little more complicated.

Thanks Timotheos. You're a star babe!

Victoria