All Questions
26,700
questions
0
votes
0
answers
38
views
i dont know how to display the discussion according the id [closed]
as the title said, I already changed a lot of code but I also cannot display the discussion that users who post by themselves according to user_id in my discussion database. I can display all the ...
-2
votes
0
answers
25
views
How to insert script code in php code in script code again [duplicate]
hello Can some one solve my bizzare code, I wrote code then I put a php code inside function variable, and in that function I adding again code inside php,
it means Script code in php code in script ...
1
vote
0
answers
26
views
Codeigniter - I'm having an issue with the dropdown it’s not populating the dropdown as expected, and I’m not sure what the exact problem is
When I tried to print the data, it is being printed correctly. However, I'm having trouble with the view file it’s not populating the dropdown as expected. If anyone knows what might be wrong, please ...
1
vote
1
answer
43
views
Laravel - Rollback specific eloquent transaction after many other transactions committed
I will try as much as I can to explain my question,
let's say that I have a shipping system that many admins using,
one of the shipping steps is to put a selected packages in a container,
the problem: ...
0
votes
1
answer
37
views
How to query revisions of learndash courses, lessons and chapters in SQL
I have a database backup from where I would like to get all revision for a course, then for its lessons and for each lessons the chapters.
The revision of a course was easy enough: SELECT * FROM ...
0
votes
0
answers
15
views
How to Replace Search Result Titles with Employer Categories in WordPress?
I have a WordPress site with a custom search bar on my homepage, provided by the Apus service search bar plugin. When users search for services, the results currently display the titles of the ...
0
votes
0
answers
36
views
Laravel: How to insert entries into a specific table [duplicate]
There is an issue with inserting entries into a specific table.
Usual methodology (model)
Creation of an table (portfolio_item)
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\...
-2
votes
0
answers
40
views
Why are these files unable to be written to this specific directory?
Right now, I am having an issue of when I press the upload file button, the error I am getting is "Error uploading files: failed to move uploading file." The end goal is for these files to ...
0
votes
0
answers
73
views
Error in Filament\Support\Services\RelationshipJoiner
I am currently learning to use Filament, but I encountered an error that says, Filament\Support\Services\RelationshipJoiner::prepareQueryForNoConstraints(): Argument #1 ($relationship) must be of type ...
0
votes
0
answers
41
views
How to segregate from 1 php file to index.html and index.php?
SUMMARIZE PROBLEM
The code below is named as index.php. This file is perfectly work..
<?php
$servername = "testing";
$username = "testing";
$password = "test";
$...
0
votes
0
answers
33
views
Informix PDO assoc_id error SQLSTATE=HY000, SQLDriverConnect: -25546
It has been about half a year that we have been facing an error on our production server. At the beginning it happened every 2-3 months, but last Friday it happened again and today once again. We have ...
0
votes
0
answers
43
views
Duplicate entry '1' for key Symfony
when I'm trying create new entry I've got that informations(symfony):
An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1' for key '...
1
vote
1
answer
37
views
How retrieve data from polymorphic relationship properly?
Hello I've got a problem with retrieving data from polymorphic relation in my Laravel 11 application. I am trying to retrieve all reports which are associated with one single Post.
It works with db ...
-1
votes
1
answer
34
views
how to insert data from the old database into the new database in laravel
how to enter data from an old database into a new database where tables have been added and several existing tables have columns added in laravel. Use Laragon as a localhost web server
I haven't tried ...
0
votes
1
answer
36
views
overloading var_export() to customize
I've a persistent library that should store objects in a database. So var_export() should store the type, pk, and db-version only. At the reverse it should recreated the object from the database using ...