InimistTech Blogs

Web & Mobile App Tech Weblog

  • Home
  • Laravel
  • React
  • Javascript
  • Linux
  • PHP
  • git
  • WordPress
  • Hindi to Unicode

Tag: csv

CSV Content Validation with FormRequest Rules in Laravel

Arvind KumarLaravelLeave a Comment on CSV Content Validation with FormRequest Rules in Laravel

In this example I am going to show and brief my implementation of validating CSV row content with custom CSV Content Validation rule created in FormRequest in my Laravel application. Scenario I need to create a simple custom CSV importer…

Read More→

PHP – Fix apostrophe(‘) converting to entity &#039 in csv export

Arvind KumarPHPLeave a Comment on PHP – Fix apostrophe(‘) converting to entity &#039 in csv export

1) If you read a .csv file for download: use \xEF\xBB\xBF after headers and just before you echo file data. For example: echo “\xEF\xBB\xBF”; // UTF-8 BOM readfile($file); 2) If you echo per line use htmlspecialchars_decode to covert single and…

Read More→

Converting a text string into comma separated words

Arvind KumarPHP1 Comment on Converting a text string into comma separated words

Today, i was looking at some old code of mine to find something when i found this little but useful piece of code which i had written for one of my old projects (and of course when i didn’t had…

Read More→

Spliting CSV (comma seperated) entry grouped by double quotes

Arvind KumarPHP2 Comments on Spliting CSV (comma seperated) entry grouped by double quotes

By using fgetcsv function we can have well formatted output for csv data without any pain. If you don’t want to use fgetcsv function for some reason and your CSV comma separated entries may contain comma inside except the delimiters,…

Read More→

  • Useful Linux Commands
  • Enlighter Example - CSS
  • Disk Space Usage Commands
  • Top Directory Linux commands

Recent Posts

  • React Context API vs. Redux: Which One Should You Use?
  • Build Reusable Components in React
  • Introduction to Node.js for Beginners
  • Getting Started with the MERN Stack: A Beginner’s Guide
  • Introduction to Node.js for Beginners

About Arvind

Arvind Thakur is a Full Stack Web Developer. He founded and runs a Software Development company by the name Inimist Technologies in Chandigarh, India. >> know more
Copyright © All rights reserved.
Blog Kit by WP Charms
Facebook
fb-share-icon
LinkedIn
Share
WhatsApp
Follow by Email
Twitter
Post on X
Reddit
Pinterest
Instagram
RSS
Telegram