I’m working on a project with laravel 5.4. I’m editing an old project and adding some features. But I’m facing a problem with installing excel package that is suitable to this version. I think …
Tag: php
Linux scheduled task not working in Laravel
The below cronjob is not working, although the task itself is working when I manually run it using php artisan q:calc . I just added the path for php and artisan files as shown below, and pasted the …
After edit of my htaccess file, my website returns 500 internal server error
Before I describe my problem I’d like to let you know in advance that I’ve been searching regarding my problem for few hours already, but nothing has changed so far. Now as of my problem, I do have …
Confirmation Email for publishing pdf [closed]
I have a question about developing a webapi. I want to send someone an email with an confirmation Link and If he clicks on it he should be redirected to a thanks page and get a second email with a pdf….
How can i get the id of the user i just added in a store function() Larevel 6.0
I did a register of users in my own controller, i want the id of the user i just added because i want to use it in another table in that same controller and function Below i will let the code of how …
Laravel pass parameter to its distant relationship (translate children)
I have categories with id, parent_id, slug , pivot table category_language which columns are id,category_id,language_id,value As you can see I can translate parent category, but can’t send desired $…
php inserts only last array record into sql
I have working code, which inserts data into csv file. Here is a part of it: if (isset($_POST[‘array’])) { foreach ($_POST[‘array’] as $loop) { $txt = $txt . $loop[‘name’] . “;” . …
Why my values of the form input does not pass to database
Currently I am working on an apply form that staff taking leave. The form is user need to fill on their leaveDuration, leaveDate and reason only. I need to pass the values that they fill in the input …
How to echo html in php with link to database? [closed]
below is what i had tried: echo “”; or echo “<input class='form-control' type='text' name='jobID' …
Android passing username to php
I am building an android app where the users are expected to perform certain tasks individually assigned to them. To download the project information I am using HTTPServiceClass and passing in a url …