PHP Collective

A collective where developers working with PHP can learn and connect about the open source scripting language.
1.5m Questions
+470
9.2k Members
+144
Contact

Can you answer these questions?

View all unanswered questions

These questions still don't have an answer

0 votes
0 answers
5 views

phpfpm and apache configuration not working

i'm recently working on 3-tier architecture on ubuntu virtual machines , 1 desktop and 2 servers, Their network configuration is set to bridged Adapter in order to communicate with the wifi card ...
0 votes
0 answers
9 views

Convert CSV file in an Symfony entity

I work with Symfony. I have an example CSV format file that contains three rows using ";" as separator. I need to convert it into a table with three rows, to do this I use the following code:...
0 votes
0 answers
11 views

How to add the dynamic new rows from my registration form in my database?

My issue is that I want to create a registration form where the registrant can add as many delegates as he wants by clicking on "Add delegate". The problem is that the form works perfectly ...
0 votes
0 answers
9 views

Doctrine One-To-One with UUIDs not working - FK is always null

I get this error when I try to save my entity despite the fact that the field was set by me. I assume that something is going on with the magic of the association annotations, e.g. it tries to find or ...
0 votes
0 answers
7 views

Issue in payment form gateway

We have a website where we provide the assignment service user are experiencing the issue of unable to go to payment gateway https://www.ignougalaxy.in/handwritten-assignments-order This is the link ...

Looking for an extra challenge?

View all bountied questions

These questions have a bounty on them

3 votes
4 answers
98 views
+50

How to create initial Object with Symfony serialization

For example I have SimpleDto class class SimpleDto implements GetPhoneInterface { public string $name; public int $value; } And json {"name":"Jane"} When I serialize it, ...
0 votes
2 answers
85 views
+100

Error counting posts of a category in WordPress

On a WordPress page we are counting and displaying the amount of posts for all categories. Meaning, all sub category posts should be counted as posts for the main category. Let's say, the name of the ...

Learn something new
These are the most recent articles in PHP Collective
17 votes
55k views
3 minute read
Knowledge article

Evolution of Type Declarations in PHP

Introduction: PHP, being a dynamically typed language, traditionally allowed flexibility in variable types, providing both advantages and challenges in code maintenance and robustness. However, with ...
alkhatibdev's user avatar
40 votes
2k views
2 minute read
How-to guide

Start learning PHP—Useful resources for beginners and advanced

Start learning PHP - Useful resources for beginners and advanced If you are wondering where to start from learning the PHP Language? needing some more knowledge to deep dive into the language? Well,...
RB Projects's user avatar