Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <p>
- <?php
- // Use rand() to print a random number to the screen
- print rand(5,50);
- ?>
- </p>
- <p>
- <?php
- // Use your knowledge of strlen(), substr(), and rand() to
- // print a random character from your name to the screen.
- $Name = "Tanya";
- substr ("Tanya");
- print rand(stsubr($name),strlen($name));
- ?>
- </p>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement