இடுகைகள்

பிப்ரவரி, 2019 இலிருந்து இடுகைகளைக் காட்டுகிறது

Multiple files upload in Codeigniter - Tamil Programmers

படம்
#behindthecode The file can be easily uploaded to the server using PHP. Also, you can upload multiple files using PHP. For CodeIgniter web application.   1)form.php <!-- VIEW --> <form method="post" action="<?=base_url('form/upload');?>" enctype="multipart/form-data"> <label class="form-label">Employee Other Documents </label> <input type="file" name="document[]" multiple='true' class="form-control" > <button class="btn btn-success waves-effect" type="submit">SUBMIT</button> </form> 2)form.php //CONTROLLER funtion upload() { $name = 'document'; //(input type="file") name #MULTIPLE UPLOAD IMAGE $filesCount = count($_FILES[$name]['name']); for($i = 0; $i < $filesCount; $i++) { $_FILES['userFile']['name'] = $_FILES[$name]['name'][$i]; $_FILES[...

Check Internet connectivity with jquery? Tamil Programmers

படம்
#behindthecode Check Internet connectivity with jquery?  EXAMPLE 1 <script>  var condition = navigator.onLine ? "online" : "offline"; if(condition == "online") { } </script>   EXAMPLE 2 <html> <style> #status {   position: fixed;   width: 100%;   font: bold 1em sans-serif;   color: #FFF;   padding: 0.5em; } #log {   padding: 2.5em 0.5em 0.5em;   font: 1em sans-serif; } .online {   background: green; } .offline {   background: red; } </style> <body> <div id="status"></div> <div id="log"></div> <p>This is a test</p> </body> </html> <script> window.addEventListener('load' , function() {   var status = document.getElementById(" status");   var log = document.getElementById("log") ;   function updateOnlineStatus(event) { ...

Php subtract two dates? Tamil Programmers

படம்
#behindthecode Example 1 <?php $then = '2019-01-28 09:02:23'; $then = new DateTime($then); $now = new DateTime(); $sinceThen = $then->diff($now); echo $sinceThen->y.' years have passed.<br>'; echo $sinceThen->m.' months have passed.<br>'; echo $sinceThen->d.' days have passed.<br>'; echo $sinceThen->h.' hours have passed.<br>'; echo $sinceThen->i.' minutes have passed.<br>'; Example 2 <?php $date=date_create("2019-01-28"); date_sub($date,date_interval_create_from_date_string("40 days")); echo date_format($date,"Y-m-d"); by Tamil Programmers

HTML | CSS Height and Width Dimensions ? Tamil Programmers

படம்
#behindthecode <!DOCTYPE html> <html> <style type="text/css">       @page { size:2.5in 2in; margin: 2cm }    </style> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html> Tamil Programmers