$files = glob('path/to/temp/*'); // get all file names foreach($files as $file){ // iterate files if(is_file($file)) unlink($file); // delete file }
You need to use $this->email->clear(); to clean out the variables set within the loop. At the end of the loop add: $this->email->clear(TRUE); This resets all email variables including the attachments, allowing you to create a new mail.
1.WhatsApp is one of the most popular messaging apps in the world.
2.Adding whatsapp share button in your mobile will be helpful to share content with anyone anytime anywhere!
3.To share articles from the webpage or mobile to Whatsapp using jQuery.
4.Adding a Whatsapp sharing button on websites and mobiles that will generate more shares than popular social sharing websites.
5.For that process first we have to create html page and follow the bellow steps:
&n
mb_convert_encoding($string, "UTF-8");
NodeJs: [url: https://nodejs.org/en/download/ ]
Microsoft Visual Studio Code: [url: <
Angular2 is not extension of angularJs it’s completely rewritten and simplified the concepts in angular2. Angular2 is open source and it works on typescript and it can be install and run in various ways angular CLI and IDE’s. Angular2 is Cross platform we can develop Mobile application and Desktop application. Hear, angular application has divided different categories those are
[Read More]Modules are used in Angular Js to put logical boundaries in your application. Hence, instead of coding everything into one application, you can instead build everything into separate modules to separate the functionality of your application. Angular Module contains multiple components to separate the functionality of application.
[Read More]
In angular2 we are using component to write Business logic of application and extends with (.ts)[Read More]
In angular2 we are using services to interact with the server using API calls.
[Read More]
Routing:
Routing helps in directing users to different pages based on the option they choose on the main page. Hence, based on the option they choose, the required Angular Component will be rendered to the user.