Pinned content
View all 3 collectionsPHP admins have deemed these posts noteworthy.
Start learning PHP — Useful resources for beginners and advanced
Common Mistakes to Avoid in PHP
Can you answer these questions?
View all unanswered questionsThese questions still don't have an answer
On woocommerce search custom taxonomy doesn't work with 'relation' => 'AND' but it works with 'relation' => 'OR'
Script in Python CVE-2025-49113 Not receiving the connection
Event subscriber not triggered — no listeners registered for product.search.criteria event?
global scopes for get , all and paginate function in laravel
Why is my XCLASSes action for the EXT:sf_event_mgt EventController ignored?
Recommended answers
View all recommended answersThese answers have been recommended
How to remove character differences from multiple strings
I came up with this solution: <?php $productTitles = array( 'Super red Megaman T-shirt', 'Super Megaman blue T-shirt', 'Super black Megaman T-shirt', 'Super Megaman T-shirt - ...
Misleading Graph API user_link
I agree the wording is potentially confusing. But I think it just means that the user gives the app permission to get the link to their profile, which it can then use to display to others, or whatever....
typeahead js is fetching invalid json data on live server
You are passing a 2d array as a parameter of a method (like()) which is expecting a string. Assuming your intention is to search for all names similar to the name column values in your 2d json payload ...
I'm having an issue with my query when using pagination and offset in Livewire 3
->offset(4)->paginate(5) this won't do what you expect, because paginate()always resets the SQL OFFSET. in simple term OFFSET(4) is immediately overwritten. Since you need to skip 4 articles, I ...
Pass data from setupShowOperation to blade in backpack laravel
You can simply use <div class="card"> <div class="card-body"> Total users: {{ $widget['data']['userCount'] }} </div> </div> if you need top level ...
See what's trending
View all trending questionsThese are the most active questions in PHP Collective
How can I prevent SQL injection in PHP?
How do I check if a string contains a specific word?
Reference Guide: What does this symbol mean in PHP? (PHP Syntax)
How do I get a YouTube video thumbnail from the YouTube API?
Deleting an element from an array in PHP
Quick guide to Laravel package development
Properly removing API from Laravel project
How to trim (or non-breaking space) in PHP?
Evolution of Type Declarations in PHP
Start learning PHP — Useful resources for beginners and advanced
Simply submit a proposal, get it approved, and publish it.
See how the process works