Laravel HTML to excel file directly from the blade view HTML table. It’s too easy and the fastest way to generate excel file from HTML table. Without blade view file we need to create the code for the generating the excel file. We need to set the array to the proper column format for generating the excel sheet. Now, forget all those things and just create the table on the Laravel blade view file.
WordPress how to assign the feature image to the post programmatically from the URL or Path of the image. Many times we need to create the WordPress post programmatically at that time we need to add the feature image to the created the post.
How we can easily set the feature image to the create post. so let’s see, We can create the function for set feature image in the created post like
Today we are learning about how to add the product to cart programmatically using Ubercart on Drupal 7. Let’s see we can add the product to cart using
uc_cart_add_item function like.
How to handle the redirect URL after user completed the registration process on Drupal7 Custom module. After completing the registration process by default Drupal redirect user to home page. Let’s see how we can handle the redirect URL after complete the registration process.
WordPress sometimes we need to also send email on BCC. It’s not possible to set BCC on all emails one by one. WordPress provide hook functionality using hook we can set the BCC on all emails. it’s the smart way to used hook instead of did more coding.
The WordPress is the most popular and highest used CMS framework. WordPress provide hook functionality. Using hook functionality we can change the WordPress default functionality without touching the WordPress file.
Let’s how we can change the text of Change password notification E-mail text using Hook.
Many times we need to remove duplicate value form the multidimensional array. Let’s see how we can remove duplicate value from the multidimensional array in PHP.
Many time we get the array with contains the duplicate value. how we can find that duplicate value form array and remove it easily. we can remove duplicate value from the array using
array_unique() function of PHP. Let’s the example If our array look like.
The Codeigniter is the Lightweight fast and object-oriented PHP Framework. Sometimes we need the last inserted record Id for inserting the related data into another table. When we are working on product module at that time we insert product data to the database and also we need to insert product-related data like product attribute insert to the database we need the product id for stored attribute data.