Posts

Showing posts from September, 2022

csv upload by php

1st step:    < li role = "presentation" class = "inactive-nav-pill" > < a   onclick = " showAjaxModal (' <?php echo site_url ( 'donor/popup/csvform' ); ? > '); "                     > < i class = "fa fa-plus" aria-hidden = "true" ></ i > CSV File </ a >             </ li > 2nd step :  < div class = "row" >     < div class = "col-md-12" >         < div class = "panel panel-primary" data-collapsed = "0" >             < div class = "panel-heading" >                 < div class = "panel-title" >                     < i class = "entypo-plus-circled" ></ i >                     CSV Insert                 </ div >             </ div >             < div class = "panel-body" >             <?php echo form_open ( site_url ( 'd

text field only text -validation

  pattern = "[A-Za-z]+"

writable session delete when comit in git

# These are some examples of commonly ignored file patterns. # You should customize this list as applicable to your project. # Learn more about .gitignore: #     https://www.atlassian.com/git/tutorials/saving-changes/gitignore # Node artifact files node_modules/ dist/ # Compiled Java class files *.class # Compiled Python bytecode *.py[cod] # Log files *.log # Package files *.jar # Maven target/ application/writable/ # JetBrains IDE .idea/ # Unit test reports TEST*.xml # Generated by MacOS .DS_Store # Generated by Windows Thumbs.db # Applications *.app *.exe *.war # Large media files *.tiff *.avi *.flv *.mov *.wmv

slug

      $title = $this -> input -> post ( 'name' );         $save [ 'slug' ] = url_title ( $title , 'dash' , true );        < h4 >< a href = " <?php echo base_url ( 'services/servicescategorywise/' . $value -> slug . '+' . $value -> id ) ? > " class = "title-head" > <?php echo $value -> name ; ? > </ a ></ h4 > function servicescategorywise ( $url = null )     {           $url = explode ( '+' , $url );         $slug = $url [ 0 ];         $id = $url [ 1 ];     }