Advertisement
Guest User

Untitled

a guest
May 27th, 2019
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 17.17 KB | None | 0 0
  1. <!-- page01.html -->
  2. <html>
  3. <head>
  4. title Bootstrap 1/title
  5. <!-- paste here bootstrap cdn -->
  6.  
  7. </head>
  8. <body>
  9. <h1>Ramadan Kareem </h1>
  10. <hr color="red">
  11. <p>Today is a first day of the holy month of Ramadan.</p>
  12. </body>
  13. </html>
  14. ============================
  15. <!-- page02.html -->
  16. <html>
  17. <head>
  18. <link from cnn>
  19. </head>
  20. <body>
  21. <h1>Bootstrap Grid</h1>
  22. <hr color=red>
  23. <div class="container">
  24.   <div class="row">
  25.         <div class="col-3 bg-primary text-warning">hi</div>
  26.         <div class="col-6 bg-success">hello</div>
  27.         <div class="col-3 bg-danger">bye</div>
  28.   </div>
  29.   <div class="row">
  30.   <div class="col-6 bg-warning text-white">
  31. This is only one columns with size 12<BR>hello
  32.   </div>
  33.   <div class="col-6 bg-info text-white">
  34. This is only one columns with size 12<BR>hello
  35.   </div>
  36.  
  37.   </div>
  38. </div>
  39. </body></html>
  40. =====================
  41. <html<head>
  42. <link from cnn>
  43. </head>
  44. <body>
  45. <h1>Bootstrap Grid</h1>
  46. <hr color=red><body>
  47. <div class="container">
  48.     <div class="row">
  49. <div class="col"><!-- 1 --
  50. <img src="k1.jpg" width=240>
  51.  
  52. </div>
  53. <div class="col"><!-- 2 -->
  54. <img src="k2.jpg" width=240>
  55.  
  56. </div>
  57. <div class="col"><!-- 3 -->
  58. <h2 align="center">Welcome to Salalah</h2>
  59. <hr color="red">
  60. <p align="justify">This is our paragraph. This is our paragraph.</p>
  61. </div>
  62. /div><!-- row 1 close -->
  63.  
  64.    <div class="row"><!-- row 2 start -->
  65. <div class="col span-6"><!-- 1 -->
  66. <h3>Khareef Season</h3>
  67. <hr color="blue">
  68. <p align="justify">
  69. Khareef is a monsoon season of Salalah city of Dhofar Governorate. Khareef is a coles from as Salalah depend upon the khareef for water supply.</p>
  70. </div>
  71. <div class="col span-6">
  72. hello this is another column
  73. hello this is another columnhello this is another columnhello this is another columnhello this is another columnhello this is another columnhello this is another columnhello this is another column
  74. </div>
  75.  
  76. </div>
  77.  
  78.  
  79.  
  80. <!--BR><BR>
  81. <div class="container">
  82. <div class="row">
  83. <div class="col-sm-6 col-md-4 bg-primary text-white">hi</div>
  84. <div class="col-sm-6 col-md-4 bg-danger text-white">hello</div>
  85. <div class="col-sm-6 col-md-4 bg-dark text-white">bye</div>
  86. </div>
  87. </div->-
  88.  
  89.  
  90. </body></html>
  91. ======================
  92. <!-- page02.html -->
  93. <html<head>
  94. <link from cnn>
  95. </head>
  96. <body>
  97. <h1>Bootstrap Heading</h1>
  98. <h2>Bootstrap Heading</h2>
  99. <h3>Bootstrap Heading</h3>
  100. <h4>Bootstrap Heading</h4>
  101. <h5>Bootstrap Heading</h5>
  102. <h6>Bootstrap Heading</h6>
  103. <br>
  104. <p>
  105. <mark>This</mark> <abbr>is my</abbr> <small>paragraph</small>. This is my paragraph. This is my <big>paragraph</big>. This is my paragraph. This is my paragraph. This is my paragraph. This is my paragraph. This is my paragraph. This is my paragraph.
  106. <br>
  107. <blockquote>Pagragraph end here</blockquote>
  108. </p>
  109. </body</html
  110. ------
  111. <!-- page05.html -->
  112. <html<head>
  113. <link from cnn>
  114. </head>
  115. <body>
  116. <h1>Contextual Colors</h1
  117.  
  118. <p class="text-muted">This text is muted</p>
  119. <p class="bg-primary">This text is primary</p>
  120. <p class="bg-success">This text is success</p>
  121. <p class="bg-info">This text is info</p>
  122. <p class="bg-warning">This text is warning</p>
  123. <p class="bg-danger text-warning">This text is danger</p>
  124.  
  125. </body</html>
  126. ==========================
  127. <!-- page06.html -->
  128. <html<head>
  129. <link from cnn>
  130. <body>
  131. <div class="container-fluid">
  132. <h2>working with table</h2>
  133. <hr>
  134. <BR>
  135. <table class="table table-responsive">
  136. <thead><tr class="table-warning">
  137.     <th>Year</th
  138.    <th>Sale</th>
  139. </tr></thead>
  140. <tbody>
  141.   <tr>
  142.     <td>2017</td>
  143.     <td>2,100 OMR.</td>
  144.   </tr>
  145.   <tr>
  146.     <td>2018</td>
  147.     <td>3,400 OMR.</td>
  148.   </tr>
  149. </tbody></table>
  150. </div></body></html>
  151.  
  152. ========================
  153. <html>
  154. <head>
  155. <link from cnn>
  156. </head>
  157. <body>
  158. <div class="container">
  159. <h2>Bootstrap Images</h2>
  160.  
  161. <img src="k1.jpg" class="rounded" width="200px" height="200px">
  162. <br>
  163. <img src="k1.jpg" class="rounded-circle" width="200px" height="200px">
  164. <br>
  165. <img src="k1.jpg" class="img-thumbnail" width="200px" height="200px">
  166. <br> &nbsp;
  167. </div>
  168.   </body>
  169. </html>
  170.  =====================
  171. <!DOCTYPE html>
  172. <html lang="en">
  173. <head>
  174. <!-- Required meta tags -->
  175. <meta charset="utf-8">
  176. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  177.  
  178. <!-- Bootstrap CSS -->
  179. <link from cnn>
  180. </head>
  181. <body>
  182.  <div class="container">
  183.   <div class="row">    
  184. <!-- col start 1-->
  185. <div class="col">
  186. <h2>Muscat</h2>
  187. <P align="justify">
  188. <mark>Write one sentence</mark> and <big>copy</big> this sentence and <small>paste</small> multiple times to make a paragraph. Write one sentence and copy this sentence and paste multiple times to make a paragraph. Write one sentence and copy this sentence and paste multiple times to make a paragraph.
  189. </p>
  190.  
  191. </div><!-- col end 1-->
  192. <!-- col start 2-->
  193. <div class="col">
  194. <h2>Salalah</h2>
  195. <P align="justify">
  196. Write one sentence and copy this sentence and paste multiple times to make a paragraph.
  197. </p>
  198.  
  199. </div><!-- col end 2-->
  200. <!-- col start 3-->
  201. <div class="col">
  202. <h2>Nizwa</h2>
  203. <P align="justify">
  204. Write one sentence and copy this sentence and paste multiple times to make a paragraph.>
  205. </p>
  206. </div><!-- col end 3-->
  207.  
  208.  
  209.   </div>
  210.  </div>
  211. ======================
  212. <html>
  213. <head>
  214. <link from cnn>
  215. </head>
  216. <body>
  217. <div class="container">
  218. <h2>buttons</h2>
  219. <hr><br>
  220.  
  221. <button type="button" class="btn btn-primary">Login</button>
  222.  
  223. <button type="button" class="btn btn-primary btn-lg">Login</button>
  224.  
  225. <button type="button" class="btn btn-primary btn-sm">Login</button>
  226. <BR><BR>
  227. <button type="button" class="btn btn-primary btn-block">Login</button>
  228.  
  229. <BR><BR>
  230. <button type="button" class="btn btn-primary btn-block disabled">Login</button>
  231.  </div>
  232. </body>
  233. </html>
  234. ======================
  235. <html lang="en">
  236.   <head>
  237.     <!-- Required meta tags -->
  238.     <meta charset="utf-8">
  239.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  240.  
  241.     <!-- Bootstrap CSS -->
  242.     <link from cnn>
  243.   </head>
  244.   <body>
  245.  
  246. <div class="container">
  247.   <h2>Button Styles</h2>
  248.   <button type="button" class="btn" >Basic</button>
  249.   <button type="button" class="btn btn-default">Default</button>
  250.   <button type="button" class="btn btn-primary">Primary</button>
  251.   <button type="button" class="btn btn-success">Success</button>
  252.   <button type="button" class="btn btn-info">Info</button>
  253.   <button type="button" class="btn btn-warning">Warning</button>
  254.   <button type="button" class="btn btn-danger">Danger</button>
  255.   <button type="button" class="btn btn-link" >Link</button>      
  256. <a class="btn btn-success" href="http://www.bing.com" role="button">Bing</a>
  257. <a class="btn btn-link" href="http://www.yahoo.com" role="button">Yahoo</a>
  258. <BR><BR>
  259.  
  260.   <button type="button" class="btn btn-primary btn-lg">Primary</button>
  261. <button type="button" class="btn btn-primary btn-sm">Primary</button>
  262.  
  263.  
  264. </div>
  265.  
  266.     <!-- Optional JavaScript -->
  267.     <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  268.     <link from cnn>
  269.   </body>
  270. </html>
  271. ================
  272. <html lang="en"
  273.  <head>
  274.     <!-- Required meta tags -->
  275.     <meta charset="utf-8">
  276.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  277.  
  278.     <!-- Bootstrap CSS -->
  279.     <link from cnn>
  280.   </head>
  281.   <body>
  282.  
  283. <div class="container">
  284. <div class="dropdown">
  285.   <button class="btn btn-success dropdown-toggle" type="button" data-toggle="dropdown">Search Engines
  286.   <span class="caret"></span></button>
  287.   <ul class="dropdown-menu">
  288.     <li><a href="http://www.bing.com">Bing</a></li>
  289.     <li><a href="http://www.google.com">Google</a></li>
  290.  
  291.     <li class="disabled"><a href="http://www.yahoo.com">Yahoo</a></li>
  292.   </ul>
  293. </div>      
  294. </div>
  295.  
  296.     <!-- Optional JavaScript -->
  297.     <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  298.     <link from cnn>
  299.   </body>
  300. </html>
  301. ==================================
  302. <!DOCTYPE html>
  303. <html lang="en"
  304.  <head>
  305.     <!-- Required meta tags -->
  306.     <meta charset="utf-8">
  307.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  308.  
  309.     <!-- Bootstrap CSS -->
  310.     <link from cnn>
  311.   </head>
  312.   <body>
  313.  
  314. <div class="container">
  315.   <ul class="nav nav-tabs">
  316.   <li class="nav-item">
  317.     <a class="nav-link active" href="#">Active</a>
  318.   </li>
  319.   <li class="nav-item">
  320.     <a class="nav-link" href="page12b.html">Link 1</a>
  321.   </li>
  322.   <li class="nav-item">
  323.     <a class="nav-link" href="page12c.html">Link 2</a>
  324.   </li>
  325.   <li class="nav-item">
  326.     <a class="nav-link disabled" href="#">Disabled</a>
  327.   </li>
  328. </ul>
  329. </div>
  330. <h1>Home page</h1>
  331. <hr>
  332. <p>today is sunday. Weather is normal in Salalah. You can go for shopping in evening after taraveeh.
  333.     <!-- Optional JavaScript -->
  334.     <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  335.     <link from cnn><link from cnn>
  336.   </body>
  337. </html>
  338. ==============
  339. <html lang="en"
  340.  <head>
  341.     <!-- Required meta tags -->
  342.     <meta charset="utf-8">
  343.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  344.  
  345.     <!-- Bootstrap CSS -->
  346.     <link from cnn>
  347.   </head>
  348.   <body>
  349.  
  350. <div class="container">
  351.   <ul class="nav nav-tabs">
  352.   <li class="nav-item">
  353.     <a class="nav-link" href="page12a.html">Active</a>
  354.   </li>
  355.   <li class="nav-item ">
  356.     <a class="nav-link active" href="#">Link 1</a>
  357.   </li>
  358.   <li class="nav-item">
  359.     <a class="nav-link" href="#">Link 2</a>
  360.   </li>
  361.   <li class="nav-item">
  362.     <a class="nav-link disabled" href="#">Disabled</a>
  363.   </li>
  364. </ul>
  365. </div>
  366. <h1>Page 2</h2>
  367. <hr>
  368.     <!-- Optional JavaScript -->
  369.     <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  370.    <link from cnn>
  371.   </body>
  372. </html>
  373. =======================
  374. <!DOCTYPE html>
  375. <html lang="en">
  376.   <head>
  377.     <!-- Required meta tags -->
  378.     <meta charset="utf-8">
  379.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  380.  
  381.     <!-- Bootstrap CSS -->
  382.     <link from cnn>
  383.   </head>
  384.   <body>
  385.  
  386. <div class="container">
  387.   <ul class="nav nav-tabs">
  388.   <li class="nav-item">
  389.     <a class="nav-link active" href="#">Active</a>
  390.   </li>
  391.   <li class="nav-item">
  392.     <a class="nav-link" href="#">Link</a>
  393.   </li>
  394.   <li class="nav-item">
  395.     <a class="nav-link" href="#">Link</a>
  396.   </li>
  397.   <li class="nav-item">
  398.     <a class="nav-link disabled" href="#">Disabled</a>
  399.   </li>
  400. </ul>
  401. </div>
  402.  
  403.     <!-- Optional JavaScript -->
  404.     <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  405.     <link from cnn>
  406.   </body>
  407. </html>
  408. ===================
  409. <!DOCTYPE html>
  410. <html lang="en"
  411.  <head>
  412.     <!-- Required meta tags -->
  413.     <meta charset="utf-8">
  414.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  415.  
  416.     <!-- Bootstrap CSS -->
  417.     <link from cnn>
  418.   </head>
  419.   <body>
  420.  
  421. <div class="container">
  422.   <ul class="nav nav-tabs">
  423.   <li class="nav-item">
  424.     <a class="nav-link active" href="#">Active</a>
  425.   </li>
  426.   <li class="nav-item">
  427.     <a class="nav-link" href="#">Link</a>
  428.   </li>
  429.   <li class="nav-item">
  430.     <a class="nav-link" href="#">Link</a>
  431.   </li>
  432.   <li class="nav-item">
  433.     <a class="nav-link disabled" href="#">Disabled</a>
  434.   </li>
  435. </ul>
  436. </div>
  437.  
  438.     <!-- Optional JavaScript -->
  439.     <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  440.     <link from cnn>
  441.   </body>
  442. </html>
  443. ===========
  444. <!DOCTYPE html>
  445. <html lang="en"
  446.  <head>
  447.     <!-- Required meta tags -->
  448.     <meta charset="utf-8">
  449.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  450.  
  451.     <!-- Bootstrap CSS -->
  452.     <link from cnn>
  453.   </head>
  454.   <body>
  455.  
  456. <div class="container">
  457. <nav class="navbar navbar-expand-lg navbar-light bg-light">
  458.   <a class="navbar-brand" href="#">Navbar</a>
  459.   <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  460.     <span class="navbar-toggler-icon"></span>
  461.   </button>
  462.  
  463.   <div class="collapse navbar-collapse" id="navbarSupportedContent">
  464.     <ul class="navbar-nav mr-auto">
  465.       <li class="nav-item active">
  466.         <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
  467.       </li>
  468.       <li class="nav-item">
  469.         <a class="nav-link" href="#">Link</a>
  470.       </li>
  471.       <li class="nav-item">
  472.         <a class="nav-link disabled" href="#">Disabled</a>
  473.       </li>
  474.     </ul>
  475.     <form class="form-inline my-2 my-lg-0">
  476.       <input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">
  477.       <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
  478.     </form>
  479.   </div>
  480. </nav>
  481. </div>
  482.  
  483.     <!-- Optional JavaScript -->
  484.     <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  485.     <link from cnn>
  486.   </body>
  487. </html>
  488. =============
  489. <!DOCTYPE html>
  490. <html lang="en"
  491.  <head>
  492.     <!-- Required meta tags -->
  493.     <meta charset="utf-8">
  494.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  495.  
  496.     <!-- Bootstrap CSS -->
  497.     <link from cnn>
  498.   </head>
  499.   <body>
  500. <div class="container">
  501.   <h2>User Registration Form</h2>
  502.   <div class="row">
  503.   <div class="col">
  504. <form action="mailto:abc@gmail.com" method="post">
  505.   <div class="form-group">
  506.  <label for="email">Email address:</label>
  507.  <input type="email" class="form-control" id="email">
  508.   </div>
  509.   <div class="form-group">
  510.  <label for="pwd">Password:</label>
  511.  <input type="password" class="form-control" id="pwd">
  512.   </div>
  513.  <div class="form-group">
  514.  <label>Department:</label>
  515.  <select class="form-control" multiple>
  516.  <option>IT</option>
  517.  <option>Business</option>
  518.  <option>Engineering</option>
  519.  </select>
  520.   </div>
  521.   <div class="form-group">
  522.  <label>Courses</label><br>
  523.  <label><input type="checkbox" > Web Techologies</label>
  524.  <label><input type="checkbox"> Web Application Development I</label>
  525.  <label><input type="checkbox"> Web Application Development II</label>
  526.   </div>
  527.   <div class="form-group">
  528.  <label>Description</label><br>
  529.  <textarea rows=5 cols=60>type..</textarea>
  530.   </div>
  531.   <button type="submit" class="btn btn-default">Submit</button>
  532. </form>
  533. </div>
  534. </div>
  535.  
  536.     <!-- Optional JavaScript -->
  537.     <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  538.     <link from cnn>
  539.   </body>
  540. </html>
  541. ========
  542.  
  543.  
  544.  
  545.  
  546.  
  547. ========
  548. ----------
  549. $marks = 66;
  550. if($marks>=70 && $marks<=100)
  551.  echo "VERY GOOD";
  552. ----------
  553. $marks = 66;
  554.  
  555. if($marks<67)
  556.  echo "fail";
  557. else
  558.  echo "pass";
  559. ----------
  560. $marks = 81;
  561. //<60 Fail, 80-100 A grade, 70-<80 B Grade, 60-<70 C Grade
  562.  
  563. if($marks<60)
  564. {
  565.  echo "Fail";
  566. }
  567. elseif ($marks<70)
  568. {
  569.  echo "C Grade";
  570. }
  571. elseif ($marks<80)
  572. {
  573.  echo "B Grade";
  574. }
  575. elseif ($marks<=100)
  576. {
  577.  echo "A Grade";
  578. }
  579. else
  580. {
  581.  echo "Wrong input.";
  582. }
  583.  
  584. -------------
  585. $day="SUN";
  586. //Write SUN,MON,TUE,WED,THU,FRI,SAT,SUN.
  587.  
  588. switch ($day){
  589. case "SUN":
  590. echo "Holiday";
  591. break;
  592. default:
  593. echo "Working Day";
  594. break;
  595. }
  596.  
  597.  
  598. ------------
  599. $day=2;
  600.  
  601. switch ($day){
  602. case 1:
  603. echo "Sunday";
  604. break;
  605. case 2:
  606. echo "Monday";
  607. break;  
  608. case 3:
  609. echo "Tuesday";
  610. break;
  611. //....day 4 to 6 write here
  612. case 7:
  613. echo "Saturday";
  614. break;
  615. default:
  616. echo "Wrong day";
  617. break;
  618. }
  619.  
  620. -----------
  621.  
  622. for($a=1;$a<=5;$a++)
  623. {
  624. echo "$a. Hello World!<br>";
  625. }
  626.  
  627.  
  628. -----------
  629. for($a=1;$a<=5;$a++)
  630. {
  631. echo $a;
  632. $a++;
  633. }
  634.  
  635. -----------
  636. for($a=1;$a<=5;$a++)
  637. {
  638. echo $a, $a+$a;
  639.  $a++;
  640. }
  641. //1236510
  642. -----------
  643. for($a=1;$a<5;$a++)
  644. {
  645. echo $a, $a+1;
  646.  }
  647. //12233445
  648. -----------
  649. for($a=1;$a<5;$a++)
  650. {
  651. echo $a, $a*1;
  652.  }
  653. //11223344
  654. -----------
  655. for($a=1;$a<5;$a++)
  656. {
  657. echo $a, $a*2;
  658.  }
  659. //12243648
  660. -----------
  661. for($a=5;$a>0;$a--)
  662. {
  663.  echo $a;
  664.   }
  665. //54321
  666. -----------
  667. for($a=5;$a>0;$a--)
  668. {
  669.  echo $a;
  670.   $a--
  671.   }
  672. //531
  673. -----------
  674. for($a=5;$a>0;$a--)
  675. {
  676.  echo $a, 6-$a;
  677.   $a--;
  678.   }
  679. //513315
  680. -----------
  681. $x = 8;
  682. do {
  683. echo "The number is: $x <br>";
  684. $x++;
  685. } while ($x <= 5);
  686.  
  687. -----------
  688.  
  689. //$car[0]="Camry";
  690. //$car[1]="Accord";
  691. //$car[2]="Volvo";
  692. //$car[3]="Corolla";
  693. //$car[4]="Prado";
  694. $car = array ("C", "A", "V", "C", "P");
  695.  
  696. $e=0;
  697. while($e<5)
  698. {
  699. echo $e, " - ", $car[$e], "<BR>";
  700.   $e++;
  701. }
  702. -----------
  703.  
  704. $age=array(33,66,22,11,23);
  705. for ($a=0;$a<5;$a++)
  706. {
  707. echo $age[$a], "<BR>";
  708. }
  709. -----------
  710.  
  711. $age=array(33,66,22,11,23);
  712. $min=$age[0];
  713. $max=$age[0];
  714. for ($a=0;$a<5;$a++)
  715. {
  716.  if($age[$a]<$min) $min=$age[$a];
  717.  if($age[$a]>$max) $max=$age[$a];
  718. }
  719. echo "Min: $min.<BR>";
  720. echo "Max: $max.";
  721. -----------
  722. $age=array(33,66,22,11,23);
  723. $min=$age[0];
  724. $max=$age[0];
  725. $sum=0;
  726. for ($a=0;$a<5;$a++)
  727. {
  728.  if($age[$a]<$min) $min=$age[$a];
  729.  if($age[$a]>$max) $max=$age[$a];
  730.   $sum+=$age[$a];
  731.   echo $age[$a], "<BR>";
  732.  }
  733. echo "<BR>";
  734. $avg = $sum/count($age);
  735. echo "Min: $min.<BR>";
  736. echo "Max: $max.<BR>";
  737. echo "Sum: $sum.<BR>";
  738. echo "Avg: $avg.<BR>";
  739. -----------
  740. Make an array of 10 number elements of any name.
  741.    $anyname=array(1,2,3,4,5,6,7,8,9,100);
  742. display all elements of array using loop.
  743.   for($a=0;$a<10;$a++)
  744.   echo $anyname[$a], "<BR>";
  745. display the following elements of array using loop.1,3,5,7,9.
  746.   for($a=0;$a<10;$a++)
  747.   {
  748.    echo $anyname[$a], "<BR>";
  749.     $a++;
  750.    }
  751. display all the elments using loop in reverse.
  752.    for($a=10;$a>=0;$a--)
  753.     echo $anyname[$a], "<BR>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement