Location: PHPKode > scripts > PhpMyBorder > phpmyborder/example2.php
<html>
  <head>
    <title>PhpMyBorder Demo</title>
  </head>
  
  <body>

  <?
  include_once('phpMyBorder2.class.php'); 
  $pmb = new PhpMyBorder(false);  // using stylesheet, to use stylesheet see class-file for details.
  
  echo $pmb -> begin_round("300px","DDEEFF","000000"); //  (width, fillcolor, edgecolor)
  echo "content...";
  echo $pmb -> end_round();

  echo "<br>";
  
  echo $pmb -> begin_raised("300px","DDEEFF"); //  (width, fillcolor)
  echo "content...";
  echo $pmb -> end_raised();

  echo "<br>";

  echo $pmb -> begin_shadow("300px","DDEEFF","000000","555555"); //  (width, fillcolor, edgecolor, shadowcolor)
  echo "content...";
  echo $pmb -> end_shadow();

  ?>
  </body>
</html>
Return current item: PhpMyBorder