Is there a way to load a file from Codeignier 4 Language directory and assign the array content to a variable. Instead of returning the translated line, I want
I made a many-to-many relationship in laravel, where users can make announcements on an event. The problem is that I want to retrieve the announcement message f
I'm trying to have one docker container with: ubuntu 20.04, on top of which I add apache, php, mysql and phpmyadmin (all on the same container) What's installed
I am facing the issue while setup the Akaunting application. I cloned this repo from GITHUB source 1: https://github.com/akaunting/akaunting. I followed all the
I am trying to open a SAML xml endpoint with the following PHP code: $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$URL); curl_setopt($ch, CURLOPT
I have this string i want to extract string which is between first occurence of whitespace and last occurence of white space $string="...ence it is apparent why
I am trying to render an email in Laravel 5.5, but no matter what I do, I get the following error on render: ErrorException (E_NOTICE) Trying to access array o
Using Woocommerce, I need to be able to add a variable product to the cart within a custom add to cart URL, such as with the following example, where 88 is the
I am trying to change the default table that laravel 9 uses to authenticate the users. But while I can see that user is authenticanted in the login function of
I am using "(float)$val" for some calculation, but for some decimal value like -0.00000025478625 (float)-0.00000025478625 is resulting to -2.5
In Laravel 8 it is possible to quickly fill relationships with factories. However, I cannot figure out how to generate more than one relationship. How can I cre
The situation/issue I have an issue with DateInterval in PHP. Given the following code $interval = new DateInterval("PT6000S"); echo $interval->h; // 0 echo
I'm successfully uploading some files to a folder and saving the path in table. If I display the file's path in an html table, hovering over it, the address on
In setting up the database installation on localhost, When I get to the database Installation section I have this error Error Received an error message. URL: im
I just implemented mod_auth_openidc authentication on an apache website and noticed that sometimes after sitting on a webpage for a few minutes, then navigating
I am trying to build password reset functionality but with a custom email template. So instead of returning the MailMessage from the notification I can sending
I'm working on an assignment right now, and I'm trying to take the data from a CSV and make them into class objects. So each item in the CSV row needs to be a c
I created a CustomAuth middleware to use in routes to authenticate by "user_id" in request body or "Authentication" in request header. I need call Authenticate
I'm very confused, i try to find what's wrong but i don't find it.. In my SQL Database i've 'posts' table created all my code are related with 'posts' table and
I have some problems in my forum's project. I have one field named "Category" with choice list and i want to when i check the value "Characters" in this list, a