Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Senarai bulan tatasusunan</title>
- </head>
- <body>
- <h1>Selamat datang admin</h1>
- <?php
- $record['rollno']=5;
- $record['name']="Kerul";
- $record['phone']="90346";
- echo "Nama: ".$record['name'];
- ?>
- <h1>Senarai bulan tatasusunan</h1>
- <select>
- <?php
- $bulan=array('Jan','Feb','Mac','April', 'Mei','Jun',
- 'Julai','Ogos','Sept','Okt', 'Nov','Dis');
- foreach ($bulan as $b){
- //echo "$b <br>";
- echo "<option> $b </option>";
- }
- ?>
- </select>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment