Force Git to overwrite local files on pull
git fetch downloads the latest from remote without trying to merge or rebase anything. Then the git reset resets the master branch to what you
git fetch downloads the latest from remote without trying to merge or rebase anything. Then the git reset resets the master branch to what you
By extending Eloquent we can inherits all of the existing functionality to our model. By Extending newly created Base Model we can inherits custom methods
Here is the simple PHP function for testing given data is null or empty string. function IsNullOrEmptyString($data){ return (!isset($data) || trim($data)===''); } I hope you
We can achieve this in several way , but i would like to share this below approach because it is very simple,easy and more readable.
Codeigniter didn’t provide an option to use subqueries with active record class. So today I would like to provide simple and possible comprehensive techniques on