Pinned content
View all 3 collectionsPHP admins have deemed these posts noteworthy.
Common Mistakes to Avoid in PHP
Start learning PHP — Useful resources for beginners and advanced
Can you answer these questions?
View all unanswered questionsThese questions still don't have an answer
AIoT device: Radius Authentication using PHP with Message-Authenticator attribute
VK API Error 15 & 100 when posting photos to community wall via WordPress: "Access denied" and "No photo given" when using group token
WP Native Shortcodes Failing to Display in JetEngine Listings and Popups – Seeking Assistance =)
WooCommerce: How add a 'Continue Shopping' button to the existing '[Product] has been added to your Basket' message
PayPal Orders API: shipping.options not persisted / PATCH replace fails when shipping address is missing
Looking for an extra challenge?
View all bountied questionsThese questions have a bounty on them
Contact Form 7 message not being sent with WooCommerce cart items
Recommended answers
View all recommended answersThese answers have been recommended
PHP arrays or SQL query in loop?
Put them in the same database then, or link the database. Having relational tables in separate databases is a poor design, really, and creates problems like this one that don't need to exist
Displaying information from php arrays in html
It's very unclear where you're stuck. Your title is clear (but you could easily Google that to get existing examples), however your description is then long, rambling and doesn't really get to the ...
Tracking GTM real login/registration form conversion (not button click) - same GA4 ID on prod & preprod, AJAX form, no thank-you page
I would have thought that seeing some code would really help here. Also why is this in the "best practices" category? It sounds more like a technical/troubleshooting question.
Code for website where membership profiles are shown only to those who fit criteria
Well, the page that displays lists of profiles will need an algorithm to determine who is a match and who isn't, by checking against all the criteria. A SQL query against the profile table which has ...
How do I differentiate each device so that each one has its own unique refresh token linked to the same account?
Tokens are often connected to certain device properties, to prevent session hijacking. I cannot judge, from what you wrote, how big a risk this is for your application. Thinking about the actual ...
See what's trending
View all trending questionsThese are the most active questions in PHP Collective
How can I prevent SQL injection in PHP?
Reference Guide: What does this symbol mean in PHP? (PHP Syntax)
How do I check if a string contains a specific word?
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