SHARE
TWEET

web2022

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