I’m currently trying to implement the GCP error reporting for a Symfony project (PHP) in order to report any errors especially the stack trace of the application. The implementation is done by using …
Tag: php
form type=“time” calculation results in full number only
I’m trying to calculate times from a time input but the result will always be a full number for example 16:45 – 8:30 doesnt result into 8:15 or 8.15 but only 8 and i can’t find a solution to this. …
RainLab Plugin Builder issues with reordering
I’m trying to use the RainLab Plugin Builder and I’m having an issue when trying to reorder a series of inputted information. At first, I was getting an error of… “The model must implement the …
how to separate config.php, database.php, constant.php file domain specific in codeigniter v3.1.10?
I’m using codeigniter v3.1.10 and i have two projects with domain name abc.example.com and xyz.example.com. i know that in codeigniter according to the environment production or development we could …
How to send comment notification message to website admin and post Author using functions.php?
My question is “How to send comment notification to website admin and also post Author?”… In WordPress default function is “Post author received a comment notification message when user add any …
How to check a php array, that contain the same value as other array
i have two array which is $a and $b, where the value of the array is same but the index of elements is different. $a Array ( [0] => there is bald spot on the inside or outside of tyre [1] => …
How can I make this list working with blank fields showing in it?
Help me please to figure out a logical solution to make such player list working I have an array filled with data player_number player_name ————-|——- 1 | player1 2 |…
Laravel: Displaying data from db after clicking a button – but staying on the same page
That’s the task I am currently facing: Starting point: I have a form, which accepts data and saves it into the database. What needs to be done: I need to include a button called “show data” (a different one than the “submit” button in the form, it can even be a clickable div), wh…
Delete information from database using laravel 6.0 and function destroy doesnt work [closed]
I am trying to eliminate an event that I created before. I tried to use the function destroy() but it didn’t work. I think that the cause could be the route in the view <!–Here it is the code of …
How to use python in laravel project for search in mysql database [closed]
I want to know how can i use python to search and into mysql of my PHP Laravel project and send back the results into php file