daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Mar 14th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. function makePage($colLeft,$colMid,$colRight) {
  4.     echo "<!DOCTYPE html>".
  5.          "<html>".
  6.          "<head><link href=\"style.css\" rel=\"stylesheet\" />".
  7.          "<title>Titre</title>".
  8.          "</head>".
  9.          "<body>".
  10.          "<div id='header' style='width:800px; height:250px; border:1px solid black; border-radius:5px; box-shadow:2px 2px 4px #AAA; margin:auto;'>Banni&egrave;re</div>".
  11.          "<div id='colLeft' style='float:left; width:200px; height:500px; border:1px solid black; '>$colLeft</div>".
  12.          "<div id='colMid' style='width:400px; border:1px solid black; margin:auto;'>$colMid</div>".
  13.          "<div id='colRight' style='float:right; width:200px; height:500px; border:1px solid black;'>$colRight</div>".
  14.          "</body></html>";
  15. }
  16.  
  17. makePage("gauche", "<a href='q5.php'>Question 5</a>", "droite");
  18.  
  19. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top