Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to make diffrent php pages have diffrent styles

<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="main_style_sheet.css" />
<?
if (isset($css) && is_array($css))
  foreach ($css as $path)
    printf('<link rel="stylesheet" type="text/css" href="%s" />', $path);
?>
</head>
<body>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #diffrent #php #pages #diffrent #styles
ADD COMMENT
Topic
Name
3+8 =