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
I am getting this error in codeigniter 3. I had tried most of the things but none of them worked. function money_format($num = 0, $pro = 2) { %n
I have windows 10 2004, 8-core amd cpu, 12gb ram, running an existing wsl2 debian instance just fine. I can run a typical web stack php-fpm nginx mariadb redis-
I have upgraded from PHP 5.3 to PHP 7.2 and the application is working. now I want to upgrade to PHP7.4, when I run the command './configure' '--prefix=/logi/ph
I'm actually new to Laravel and I'm trying to build a basic social network with this Framework. For this project, I created a page called post which users can a
i need to transfer a variable from js to a php page then insert it in the database the Js code function tableText(tableCell) { var x
Group test { Group test1 { #-# Type Val 1 typ1 10 2 typ2 10 3 typ3 10 } Group test2 {
Trying to migrate my Laravel and Vue code into docker but I am getting an error building the Image This is my docker file # dockerfile FROM php:8-fpm #
I've been trying to get data from my database into a table on my website using js/php but I can't get the php to give a valid xml to the script. This is the php
Laravel's documentation says (emphasis mine): If the user must specify a value for an option, you should suffix the option name with a = sign… But then