Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title> Ushtrime me Funksione dhe Array </title>
- </head>
- <body>
- <?php
- function numro () {
- static $numer = 0;
- $numer++;
- print ("<h3> Mbani numrin e funksionit: $numer </h3>");
- }
- print ("<h2>Thirrja e funksionit per here te pare: </h2>");
- numro();
- print ("<h2>Thirrja e funksionit per here te dyte: </h2>");
- numro();
- print ("<h2>Thirrja e funksionit per here te trete: </h2>");
- numro();
- print ("<h2>Thirrja e funksionit per here te katert: </h2>");
- numro();
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement