Very basic thing I’m probably missing, but I don’t get it. I have a table called mus_translated_languages in my db, in which I have a json datatype column (six records), whose value is always in the …
Tag: php
Container Registry TYPO3 not available
At deployment getting the following exception when trying to invoke a typo3 cli command. ./typo3cms list. At local env this does not occur Answer The occurs due that the composer.json and composer.lock are not deployed to the machine were the command is executed. In these file a configuration/bootstrap is set…
How can i handle the page crash in laravel?
Whenever i leave my website for like 1 hour and whenever i try to access the different part of the website i get “Trying to get property ‘id of non object”, it means that the user have been logged out but the page crashed. So i need a way so that i can apply a middleware to handle this issue…
why am i getting null value from my database in laravel when trying to find specific user?
Am trying to display information of a specific student in my database using student ID. I seem to get null value yet the student exist in the database. i seriously do not know why am getting this null …
how to upload all types of audio files to a folder using php
i have this web program, and i am uploading two types of files, one in image format and one in audio format, the image files are uploading perfectly and any type of image can work, but some audio …
Implementation of multilanguage in PHP
I was wondering how to implement multiple languages in PHP script. I couldn’t really find any handy way of how such thing should be done to make it easy for translator. I’ll give an example: //Output …
laravel foreach input radiobutton displayed incorrectly
I’m trying to display the options for the questions. i have the problem that when im doing it this way: @section(‘content’)
Quiz: {{$category-…
how to repeat rows only once in many to many relationship
I’m working on many to many relationship on php I have 3 tables , movie table which contains movie name and movie id genre table which contains genre and genre id and movie_genre table which has …
How to Assign a Gateway Fee in WooCommerce to Multiple User Roles?
I’ve built an online shop on WooCommerce that sells retail as well as wholesale. But credit card fees are so damn expensive. I’m happy to pay the credit card fees for my retail customers but I want to charge my resellers if they choose to pay by credit card. I managed to come up with the following…
How do we implement custom API-only authentication in Laravel
This isn’t a question so much in need of an answer, but further suggestions and answers and recommendations are welcome. I want to share with the world how I resolved this issue and hope it helps others. Laravel comes with several pre-designed authentication solutions that you can spin up with a few art…