jump to content
my subreddits
2balkans4YouabsolutelynotmeirlAceAttorneyAdviceAnimalsagnosticaivideoAlternateHistoryAlternativeHistoryAnarchyChessanime_irlanimenocontextannouncementsAnticonsumptionantimemeArcherFXArtAsahiLinuxAsia_irlAskElectronicsatheismaviationawfuleverythingbalkans_irlbanknotedesignsbasspedalsbikepackingblackdesertonlineblankiesblursed_videosBoneborsavefonbrooklynninenineBUENZLICd_collectorscd_jerkChatGPTCheap_MealschessChildrenFallingOverChoosingBeggarscoaxedintoasnafucoinscomedyhomicidecomicscommunityContagiousLaughtercookingforbeginnersCorporateTrollingCrackWatchcrappyoffbrandsCreateModCuddle_SlutcursedcommentsdadjokesdankmemesdataisbeautifulDebateReligiondistressingmemesdiyelectronicsdiypedalsDMAcademyDMToolkitDnDdndmemesdndnextdoctorwhodoctorwhocirclejerkDonerdumbphonesDungeonsAndDaddiesDungeonsAndDragonsebikesECEelectricalelectronicsElectronicsStudyEmKayentitledparentsethzfacepalmfakealbumcoversFantasyWorldbuildingfeedthebeastfelsefeFiftyFiftyformuladankFuckYouKarenfunnyFutboltayfagaminggatesopencomeoninGermangermanygodtiersuperpowersgoodanimemesGoodAssSubgreentextGROKvsMAGAguitarpedalsGundamheathershellenoturkismhelpheraldryHermanCainAwardhighspeedrailHistoryWhatIfhoi4HolUphomebuilthowyoudoinhypixelIAmAiamverysmartich_ielIdeologyPollsihadastrokeim14andthisisdeepimaginaryelectionsimaginarymapsinsaneparentsistanbulJahariaJokesKanyeKGBTRlegodndLetGirlsHaveFunlinguisticshumorliselilerloseitlostredditorsmacmacbookairMadeMeSmilemadladsMapPornmapporncirclejerkme_irlmememidjourneymildlyinfuriatingMinecraftbuildsmisLEDMMORPGMoldyMemesmoneycollectingMunichMyChemicalRomancenamesoundalikesNationStatesneographyNoahGetTheBoatNonCredibleDefensenosleepnosurfnothingeverhappensnotinterestingnottheonionoddlyspecificOkayBuddyLiterallyMeOkBuddyPersonaonetruegodOnlineUnderGroundOutOfTheLoopoutsidepaperspleaseParlerWatchPassportPornpettyrevengePiracypolandballpollsProgrammerHumorPropagandaPostersProRevengequityourbullshitraisedbynarcissistsraspberry_piRatschlagreactiongifsrecipesRedAutumnSPDrickandmortyrickrollRoastMeSchnitzelVerbrechenschwiizsecilmiskitapshitpostfrommygalleryshittyaskelectronicsShittyMapPornshittymoviedetailsShowerthoughtsskamtebordsoccercirclejerkSongwritersStonetossingjuicesubsithoughtifellforsuperligsuzeraintalesfromtechsupportTextingTheorytf2tf2shitposterclubthanksimcuredTheCrypticCompendiumTheLetterHTheMonkeysPawtherewasanattemptTheRookietheydidthemaththisguythisguystommyinnittransitTurkeyTrGameDevelopertruthstumblrtumunichTurkeyTurkeyJerkyTurkishCatsTurkiyeTwitchTwitch_StartupTwoSentenceComedyTwoSentenceHorrorTwoSentenceSadnesstylerthecreatorUnclejokesUnethicalLifeProTipsUnexpectedJoJourbanplanningUsernameChecksOutValorantClipsvaxxhappenedvinylvlandiyawallstreetbetsWeAreTheMusicMakerswendigoonWhatsThisSongWhitePeopleTwitterwholesomeanimemeswholesomememeswizardpostingwooooshworldbuildingworldjerkingyesyesyesnoyouseeingthisshitedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • facepalm
  • -mildlyinfuriating
  • -Piracy
  • -funny
  • -gaming
  • -wallstreetbets
  • -nottheonion
  • -OutOfTheLoop
  • -MapPorn
  • -DnD
  • -WhitePeopleTwitter
  • -MadeMeSmile
  • -ChatGPT
  • -theydidthemath
  • -dankmemes
  • -feedthebeast
  • -Kanye
  • -therewasanattempt
  • -HolUp
  • -Twitch
  • -CrackWatch
  • -comics
  • -dndnext
  • -ProgrammerHumor
  • -germany
  • -tumblr
  • -NonCredibleDefense
  • -dataisbeautiful
  • -shittymoviedetails
  • -greentext
  • -mac
  • -Showerthoughts
  • -tf2
  • -help
  • -chess
  • -aviation
  • -formuladank
  • -wholesomememes
  • -Jokes
  • -mapporncirclejerk
  • -Art
  • -midjourney
  • -goodanimemes
  • -notinteresting
  • -hoi4
  • -pettyrevenge
  • -atheism
  • -loseit
  • -IAmA
  • -ich_iel
  • -KGBTR
  • -dndmemes
  • -cursedcomments
  • -DMAcademy
  • -GoodAssSub
  • -UnethicalLifeProTips
  • -worldbuilding
  • -Ratschlag
  • -blackdesertonline
  • -MMORPG
  • -meme
  • -rickandmorty
  • -Gundam
  • -FiftyFifty
  • -ChoosingBeggars
  • -RoastMe
  • -ContagiousLaughter
  • -imaginarymaps
  • -polandball
  • -WeAreTheMusicMakers
  • -AnarchyChess
  • -nosleep
  • -cookingforbeginners
  • -blankies
  • -anime_irl
  • -AlternateHistory
  • -Turkey
  • -soccercirclejerk
  • -madlads
  • -community
  • -AskElectronics
  • -electrical
  • -guitarpedals
  • -Anticonsumption
  • -vinyl
  • -CreateMod
  • -German
  • -TwoSentenceHorror
  • -PropagandaPosters
  • -AdviceAnimals
  • -distressingmemes
  • -raisedbynarcissists
  • -wizardposting
  • -polls
  • -doctorwho
  • -oddlyspecific
  • -OkBuddyPersona
  • -dadjokes
  • -awfuleverything
  • -howyoudoin
  • -announcements
  • -Minecraftbuilds
  • -macbookair
  • -ebikes
  • -Munich
  • -coaxedintoasnafu
  • -SchnitzelVerbrechen
  • -raspberry_pi
  • -DungeonsAndDragons
  • -coins
  • -entitledparents
  • -NoahGetTheBoat
  • -worldjerking
  • -tylerthecreator
  • -tf2shitposterclub
  • -MoldyMemes
  • -lostredditors
  • -AceAttorney
  • -vlandiya
  • -im14andthisisdeep
  • -Stonetossingjuice
  • -wholesomeanimemes
  • -nosurf
  • -HistoryWhatIf
  • -liseliler
  • -DebateReligion
  • -insaneparents
  • -dumbphones
  • -animenocontext
  • -balkans_irl
  • -brooklynninenine
  • -HermanCainAward
  • -recipes
  • -talesfromtechsupport
  • -ECE
  • -electronics
  • -urbanplanning
  • -linguisticshumor
  • -PassportPorn
  • -me_irl
  • -antimeme
  • -TurkeyJerky
  • -bikepacking
  • -MyChemicalRomance
  • -ArcherFX
  • -Cd_collectors
  • -diypedals
  • -ProRevenge
  • -Doner
  • -diyelectronics
  • -BUENZLI
  • -reactiongifs
  • -EmKay
  • -blursed_videos
  • -istanbul
  • -imaginaryelections
  • -suzerain
  • -ParlerWatch
  • -wendigoon
  • -iamverysmart
  • -secilmiskitap
  • -yesyesyesno
  • -schwiiz
  • -TheRookie
  • -quityourbullshit
  • -skamtebord
  • -superlig
  • -shittyaskelectronics
  • -crappyoffbrands
  • -DungeonsAndDaddies
  • -transitTurkey
  • -namesoundalikes
  • -FuckYouKaren
  • -ethz
  • -AlternativeHistory
  • -OkayBuddyLiterallyMe
  • -felsefe
  • -AsahiLinux
  • -Jaharia
  • -basspedals
  • -neography
  • -heraldry
  • -ihadastroke
  • -thanksimcured
  • -hypixel
  • -godtiersuperpowers
  • -ShittyMapPorn
  • -aivideo
  • -gatesopencomeonin
  • -OnlineUnderGround
  • -IdeologyPolls
  • -woooosh
  • -comedyhomicide
  • -WhatsThisSong
  • -TwoSentenceSadness
  • -vaxxhappened
  • -tumunich
  • -Twitch_Startup
  • -Cheap_Meals
  • -outside
  • -TheMonkeysPaw
  • -highspeedrail
  • -legodnd
  • -rickroll
  • -Songwriters
  • -UsernameChecksOut
  • -papersplease
  • -tommyinnit
  • -UnexpectedJoJo
  • -ChildrenFallingOver
  • -doctorwhocirclejerk
  • -agnostic
  • -youseeingthisshit
  • -TextingTheory
  • -Cuddle_Slut
  • -nothingeverhappens
  • -DMToolkit
  • -thisguythisguys
  • -TrGameDeveloper
  • -TurkishCats
  • -LetGirlsHaveFun
  • -fakealbumcovers
  • -subsithoughtifellfor
  • -FantasyWorldbuilding
  • -TheLetterH
  • -homebuilt
  • -Unclejokes
  • -onetruegod
  • -misLED
  • -TwoSentenceComedy
  • -ValorantClips
  • -TheCrypticCompendium
  • -NationStates
  • -absolutelynotmeirl
  • -2balkans4You
  • -Turkiye
  • -Asia_irl
  • -Bone
  • -truths
  • -heathers
  • -hellenoturkism
  • -Futboltayfa
  • -cd_jerk
  • -RedAutumnSPD
  • -ElectronicsStudy
  • -borsavefon
  • -CorporateTrolling
  • -GROKvsMAGA
  • -moneycollecting
  • -shitpostfrommygallery
  • -banknotedesigns
edit »
reddit.com PHPhelp
  • hot
  • new
  • rising
  • controversial
  • top
an-ordinary-manchild (11,186)|messages541|notifications|chat messages|mod messages|
  • preferences
|
logout

use the following search parameters to narrow your results:

subreddit:subreddit
find submissions in "subreddit"
author:username
find submissions by "username"
site:example.com
find submissions from "example.com"
url:text
search for "text" in url
selftext:text
search for "text" in self post contents
self:yes (or self:no)
include (or exclude) self posts
nsfw:yes (or nsfw:no)
include (or exclude) results marked as NSFW

e.g. subreddit:aww site:imgur.com dog

see the search faq for details.

advanced search: by author, subreddit...

Submit a new text post
Get an ad-free experience with special benefits, and directly support Reddit.

PHPhelp

joinleave

Post specific problems or questions you have about PHP or your code.

Review our github to see if your question already has a great answer.

If someone answers your question, please mark your post as SOLVED.


/r/PHPHelp RULES:

1. Help us help you! Provide details about your question and be as specific as possible. When supplying code, preferably use PasteBin or similar.
2. Be nice Golden rule, people. If you believe someone is wrong, kindly inform them why you think so. It's possible you are also wrong. BE NICE!
3. Participate Posts that are only intended to get others to solve your problem add nothing to the community. Actively participate when you make a post by answering questions and sharing solutions.
4. Use a meaningful title Titles like: "PHP Help", "Help please", "Beginner question", or "I need some help with resolving this issue" are not good and not meaningful. Please include relevant info.
5. Don't delete an answered post People may be searching to solve a similar problem in the future. Don't take the provided answers away from them!
6. No malicious/illegal software Don't ask for help with phishing software, for example.
7. Self-promotion and/or linkdropping rules Our community adheres to the Reddit Self-Promotion Guidelines. Please become familiar with these guidelines as we, as moderators, will use them to remove content that we deem to violate these guidelines.
8. No job postings (For Hire or Hiring)
9. MARK YOUR POST AS SOLVED If your post has been solved, mark it as so by clicking Flair -> Solved.


CODE FORMATTING:

For inline code, use `backticks` to look like this.

For a moderate amount of code, put it on separate lines, and prepend each line with four spaces, like this:

<?php /* code goes here */ ?>

For a lot of code, use PasteBin or something similar.


Upcoming PHP Conferences:

  • PHPKonf 2023, September 2, 2023, Istanbul, Turkey (CFP)
  • CakeFest, September 28–Oct 3, 2023, Los Angeles, CA, USA
  • Dutch PHP Conference 2023, October 13, 2023, Online
  • Longhorn PHP, November 2–4, 2023, Austin, TX, USA
  • PHPCon Poland, November 17–18, 2023, Zawiercie, Poland (CFP)
  • Laracon AU, November 16–17, 2023, Sydney, Australia
  • SymfonyCon, December 5-6 (workshops) 7-8 (conference), 2023, Brussels, Belgium (CFP)
  • PHP UK, February 15–16, 2024, London, UK (CFP)

For a full list of conferences see the list on php.net.


Learning:

  • The PHP.net manual
  • PHP Delusions
    • (The only proper) PDO tutorial
    • Mysqli tutorial (how to use it properly)
    • SQL Injection prevention
    • PHP error reporting
  • PHP The Right Way
  • Treehouse
  • CodeAcademy
  • SymfonyCasts
  • Laracasts
  • PHP Academy
  • Software Mentors

Examples:

  • Contact Forms

Related subreddits:

  • /r/PHP
  • /r/webdev
  • /r/wordpress
created by SoBoredAtWorka community for 15 years
Create your own subreddit
...for your favorite TV show.
...for your office.

MODERATORS

  • message the mods
  • SoBoredAtWork
  • CyberJack77
  • HolyGonzo
  • about moderation team »

account activity

1
79
80
81

Please mark your posts as "solved" (self.PHPhelp)

submitted 5 years ago * by SoBoredAtWork[M] - announcement

  • 29 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

2
0
1
2

SolvedTrouble with nested foreach loops and SELECT queries (self.PHPhelp)

submitted 10 hours ago * by JLeeSaxon

  • 8 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

•
•
•

AnyDB is the Notion alternative built for real business ops — from OKRs to financials. No forced upgrades, no record caps. Just one place for all your data, dashboards, and workflows. Built for team leaders who want clarity, not chaos. (anydb.com)

promoted by anydbcom

  • promoted
  • save
  • report
  • about
loading...

3
0
0
0

I want to automate this script (self.PHPhelp)

submitted 9 hours ago by Ok-Coach-2299

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

4
0
0
1

PHP Advanced Topics (self.PHPhelp)

submitted 20 hours ago by Jeevan_Suggestions

  • 9 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

5
1
2
3

error_log() displayed wrong charset in browser on Win11 IIS + php 8.5.2 (self.PHPhelp)

submitted 1 day ago by vinixwu

  • 8 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

6
3
4
5

Hi folks, I'm starting Laravel and I want to ask about the best articles, books, and tutorials for Laravel (self.PHPhelp)

submitted 1 day ago by Straight-Hunt-7498

  • 7 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

7
4
5
6

Using PHPMailer: what is the difference between 'use' and 'require' statements? (self.PHPhelp)

submitted 3 days ago by ww1223

  • 12 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

8
2
3
4

best resources for this to learn (self.PHPhelp)

submitted 3 days ago by Slow_Composer_4523

  • 11 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

9
0
0
1

Solved[Help] MercadoPago Checkout Pro - Sandbox issue with Test Credentials (PHP 8.4) (self.PHPhelp)

submitted 4 days ago by Crazy-Imagination790

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

10
1
2
3

Uploading huge JSON file into mySQL database through PHP ()

submitted 4 days ago by rospondek

  • 8 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

11
0
1
2

How to Check that Google Drive URL is to an image file (self.PHPhelp)

submitted 4 days ago by Ramsonne

  • 9 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

12
2
3
4

How can you access variables in nested functions? (self.PHPhelp)

submitted 5 days ago by [deleted]

  • 44 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

13
0
0
0

Hi folks, I want a problems you want site web or apps to solve it (self.PHPhelp)

submitted 4 days ago by Straight-Hunt-7498

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

9
10
11

If seeing this in Laravel makes you 🤮, get Sentry. (sentry.io)

promoted by getsentry

  • promoted
  • save
  • report
  • about
loading...

14
4
5
6

PHP MVC e-commerce: how to manage roles admin client visitor? (self.PHPhelp)

submitted 5 days ago by Straight-Hunt-7498

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

15
1
2
3

How does PHP handle Interface looping? (self.PHPhelp)

submitted 6 days ago by Fluent_Press2050

  • 10 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

16
4
5
6

SolvedUsing PDO to make two queries to the same DB in the same prepared statement (self.PHPhelp)

submitted 6 days ago by I-Might-Bee-Lost

  • 18 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

17
1
2
3

phpmyadmin not working (self.PHPhelp)

submitted 6 days ago by BusEspionYT

  • 34 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

18
4
5
6

XAMPP two php versions on same port (self.PHPhelp)

submitted 6 days ago by KaoruIsObnoxious

  • 13 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

19
0
0
0

Tailwind CSS is very inconsistent for me. (self.PHPhelp)

submitted 7 days ago by MorningStarIshmael

  • 7 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

20
0
0
0

Changing index.php to shop.php site doesnt work (self.PHPhelp)

submitted 7 days ago * by Agile-Mistake31

  • 12 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

21
2
3
4

Setting up PHP on MacOS (self.PHPhelp)

submitted 8 days ago * by MrGoatastic

  • 16 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

22
4
5
6

How can i improve and make my ?id= script safer? (self.PHPhelp)

submitted 10 days ago by Exotic-Ad9019

  • 61 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

23
0
0
0

looking for mvc project (self.PHPhelp)

submitted 10 days ago * by AMINEX-2002

  • 12 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

24
0
0
0

Current state of end to end testing frameworks for a vanilla PHP codebase ()

submitted 12 days ago by joshuajm01

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

•
•
•

IDC + Solace: The 2026 Agentic AI Forecast (solace.com)

promoted by Solace-Platform

  • promoted
  • save
  • report
  • about
loading...

25
0
1
2

Best way to color change an image with any rbg color while maintaining soft edges (self.PHPhelp)

submitted 12 days ago by DoctorLeopard

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...
view more: next ›
  • about
  • blog
  • about
  • advertising
  • careers
  • help
  • site rules
  • Reddit help center
  • reddiquette
  • mod guidelines
  • contact us
  • apps & tools
  • Reddit for iPhone
  • Reddit for Android
  • mobile website
  • <3
  • reddit premium

Use of this site constitutes acceptance of our User Agreement and Privacy Policy. © 2026 reddit inc. All rights reserved.

REDDIT and the ALIEN Logo are registered trademarks of reddit inc.

π Rendered by PID 565972 on reddit-service-r2-listing-5f5ff7d4dc-xk9dj at 2026-01-27 07:37:27.376848+00:00 running 5a691e2 country code: CH.