Posts

Showing posts from April, 2021

api call in php

  <! 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 > Document </ title >      <!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> -->      < script   src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js" ></ script >      <!-- CSS only -->      < link   href = "https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css"   rel = "stylesheet"       ...

user in rest flag api

      <! 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 > Document </ title >         <!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> -->         < script   src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js" ></ script >         <!-- CSS only -->  ...

fizzbuzz.php

  <?php      for  ( $i = 1 ;  $i <= 100  ;  $i ++) {          if ( $i  %  3  ==  0  &&  $i  %  5  == 0 ){             echo   "Fizzbuzz<br>" ;        }         elseif ( $i  %  3  ==  0 ){             echo   "fizz<br>" ;        }         elseif ( $i  %  5  ==  0 ){             echo   "buzz<br>" ;        }         else {            echo   $i . "<b...

pattern.php

 https://programmingwithvishal.com/demo/pattern/ <?php //output // 1 // 22 // 333 // 4444 // 55555     //    for($i = 1;$i<=5;$i++) //     { //         for ($j=0; $j < $i; $j++) {  //             echo $i; //         } //         echo"<br>";          //     } //output // $$$$$ // $$$$ // $$$ // $$ // $ // for($i=5;$i>=1;$i--) // { //     for($j=1;$j<=$i;$j++) //     { //         echo"$"; //     } //   ...