Need help with simple code.

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Post by Joan Garnet » Mon Nov 25, 2002 3:25 pm

Hi Bjawnie,
something like this (if I understood it :) )

Code: Select all

<?php 
if($HTTP_GET_VARS['mode'] = "print"){
   echo "<LINK href='../css/print.css' type=text/css rel=stylesheet>";
}else{
   echo "<LINK href='../css/style.css' type=text/css rel=stylesheet>";
}
;?>

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests