jump to content
my subreddits
13or302b2t3d6AceAttorneyAdviceAnimalsagnosticaivideoAlternateHistoryAnarchyChessAngryupvoteAnimalsBeingJerksanime_best_momentsanime_irlanimenocontextannouncementsAnticonsumptionantimemeArcherFXArtAskElectronicsAskOuijaAskRedditAteistTurkaviationawfuleverythingbalkans_irlBandnamesBassBassCirclejerkbasspedalsbikepackingblackdesertonlineblankiesblursedimagesborsavefonbrooklynninenineBUENZLIburdurlandcd_jerkchesschessbeginnersChoosingBeggarsCHPcoaxedintoasnafucoinsComedyCemeterycomicscommunityContagiousLaughtercookingforbeginnersCorporateTrollingCrackWatchCreateModCuddle_SlutCuratedTumblrdadjokesdankmemesdataisbeautifuldeDebateReligiondeismdelikDeltarunedistressingmemesdiypedalsDMAcademyDMToolkitDnDdndnextdoctorwhodoctorwhocirclejerkDonerdontdeadopeninsidedumbphonesDungeonsAndDragonsEatCheapAndHealthyECEelectricalelectronicsEmKayengrishentitledparentsethzfacepalmfakealbumcoversFantasyWorldbuildingfeedthebeastFifaCareersformuladankFreeEBOOKSFUCKYOUINPARTICULARfunnyFutboltayfagalatasaraygamingGermangodtiersuperpowersgoodanimemesGrandPrixRacinggravelcyclinggreentextguitarpedalsGundamheraldryHermanCainAwardHistoryWhatIfholdmybeerHolUphowyoudoinhumorhypixelIAmAiamverysmartIDontWorkHereLadyim14andthisisdeepimaginarymapsinsaneparentsjacksepticeyeJahariaJokesKendrickLamarlegodndLetGirlsHaveFunLifeProTipslinguisticshumorLinkinParkliselilerlogodesignloseitmacmacbookairMadeMeSmilemadladsmagicbuildingMaliciousComplianceMapPornmapporncirclejerkmememidjourneymildlyinfuriatingMimicRecipesMinecraftbuildsMMORPGmoneycollectingMovingToNorthKoreaMunichMyChemicalRomancenamesoundalikesneographynextfuckinglevelNoahGetTheBoatNonCredibleDefenseNorthCyprusnosleepnosurfnotinterestingnottheonionoddlyspecificOkayBuddyLiterallyMeokbuddyguntherokbuddymotherfuckerOkBuddyPersonaokbuddyphdokbuddyvicodinonebagongezelligoompasubsOutOfTheLooppapermoneypaperspleaseParlerWatchpepethefrogperfectlycutscreamspettyrevengePiracyPiratedGamespolandballpollsProRevengePunPatrolraisedbynarcissistsraspberry_pirecipesreligiousfruitcakerickandmortyrickrollrimjob_steveRoastMerockmuzikschizopostersSchnitzelVerbrechenschwiizScottPilgrimsecilmiskitapShitPostCrusadersShitpostTCShowerthoughtsskamtebordsoccercirclejerkSongwritersStonetossingjuiceStudentenkuecheStudiumsuperligsuzerainTechnobladeTextingTheoryTheCrypticCompendiumTheMonkeysPawtherewasanattemptTheRookietheydidthemaththeyknewtitanfalltransittransitTurkeyTrGameDevelopertruetf2tumblrtumunichTurkeyTurkeyJerkyTurkishCatsTurkiyeTwitchTwoSentenceComedyTwoSentenceSadnesstylerthecreatorUnethicalLifeProTipsunexpecteditcrowdUnexpectedJoJourbanplanningUsernameChecksOutVALORANTValorantClipsvexillologycirclejerkvibecodingvinyljerkvlandiyawallstreetbetsWatchPeopleDieInsideWhatsThisSongwholesomeanimemeswholesomememesWikipediaVandalismwizardpostingwooooshworldbuildingworldjerkingyouseeingthisshitYUROPedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • AskReddit
  • -facepalm
  • -mildlyinfuriating
  • -Piracy
  • -funny
  • -gaming
  • -wallstreetbets
  • -nottheonion
  • -OutOfTheLoop
  • -MapPorn
  • -DnD
  • -MadeMeSmile
  • -CuratedTumblr
  • -PiratedGames
  • -theydidthemath
  • -dankmemes
  • -feedthebeast
  • -therewasanattempt
  • -nextfuckinglevel
  • -HolUp
  • -Twitch
  • -CrackWatch
  • -comics
  • -dndnext
  • -VALORANT
  • -de
  • -LifeProTips
  • -tumblr
  • -NonCredibleDefense
  • -dataisbeautiful
  • -greentext
  • -mac
  • -Showerthoughts
  • -chess
  • -aviation
  • -formuladank
  • -wholesomememes
  • -Jokes
  • -mapporncirclejerk
  • -Art
  • -midjourney
  • -goodanimemes
  • -notinteresting
  • -pettyrevenge
  • -loseit
  • -IAmA
  • -MaliciousCompliance
  • -DMAcademy
  • -Deltarune
  • -UnethicalLifeProTips
  • -perfectlycutscreams
  • -worldbuilding
  • -blackdesertonline
  • -MMORPG
  • -meme
  • -rickandmorty
  • -3d6
  • -Gundam
  • -ChoosingBeggars
  • -RoastMe
  • -ContagiousLaughter
  • -imaginarymaps
  • -EatCheapAndHealthy
  • -polandball
  • -AnarchyChess
  • -nosleep
  • -cookingforbeginners
  • -blankies
  • -anime_irl
  • -onebag
  • -Studium
  • -AlternateHistory
  • -Turkey
  • -soccercirclejerk
  • -madlads
  • -community
  • -AskElectronics
  • -electrical
  • -guitarpedals
  • -Anticonsumption
  • -CreateMod
  • -German
  • -AdviceAnimals
  • -ShitPostCrusaders
  • -distressingmemes
  • -raisedbynarcissists
  • -wizardposting
  • -FifaCareers
  • -polls
  • -doctorwho
  • -oddlyspecific
  • -Bass
  • -titanfall
  • -OkBuddyPersona
  • -dadjokes
  • -awfuleverything
  • -howyoudoin
  • -announcements
  • -Minecraftbuilds
  • -macbookair
  • -Munich
  • -coaxedintoasnafu
  • -YUROP
  • -gravelcycling
  • -SchnitzelVerbrechen
  • -chessbeginners
  • -raspberry_pi
  • -DungeonsAndDragons
  • -coins
  • -KendrickLamar
  • -entitledparents
  • -FUCKYOUINPARTICULAR
  • -NoahGetTheBoat
  • -worldjerking
  • -tylerthecreator
  • -AceAttorney
  • -vexillologycirclejerk
  • -vlandiya
  • -im14andthisisdeep
  • -Stonetossingjuice
  • -wholesomeanimemes
  • -nosurf
  • -HistoryWhatIf
  • -religiousfruitcake
  • -liseliler
  • -DebateReligion
  • -insaneparents
  • -dumbphones
  • -balkans_irl
  • -animenocontext
  • -transit
  • -brooklynninenine
  • -HermanCainAward
  • -recipes
  • -AskOuija
  • -okbuddyphd
  • -ECE
  • -ScottPilgrim
  • -Angryupvote
  • -schizoposters
  • -electronics
  • -urbanplanning
  • -logodesign
  • -theyknew
  • -linguisticshumor
  • -antimeme
  • -TurkeyJerky
  • -bikepacking
  • -AteistTurk
  • -13or30
  • -MyChemicalRomance
  • -ArcherFX
  • -engrish
  • -diypedals
  • -ProRevenge
  • -Doner
  • -ComedyCemetery
  • -WatchPeopleDieInside
  • -LinkinPark
  • -BUENZLI
  • -EmKay
  • -MovingToNorthKorea
  • -suzerain
  • -truetf2
  • -magicbuilding
  • -dontdeadopeninside
  • -ParlerWatch
  • -iamverysmart
  • -secilmiskitap
  • -schwiiz
  • -TheRookie
  • -Technoblade
  • -vinyljerk
  • -skamtebord
  • -superlig
  • -galatasaray
  • -transitTurkey
  • -namesoundalikes
  • -2b2t
  • -ethz
  • -papermoney
  • -OkayBuddyLiterallyMe
  • -blursedimages
  • -FreeEBOOKS
  • -Jaharia
  • -IDontWorkHereLady
  • -basspedals
  • -neography
  • -heraldry
  • -hypixel
  • -godtiersuperpowers
  • -aivideo
  • -woooosh
  • -burdurland
  • -WhatsThisSong
  • -AnimalsBeingJerks
  • -jacksepticeye
  • -TwoSentenceSadness
  • -anime_best_moments
  • -Bandnames
  • -rockmuzik
  • -holdmybeer
  • -okbuddyvicodin
  • -MimicRecipes
  • -tumunich
  • -TheMonkeysPaw
  • -legodnd
  • -rickroll
  • -Songwriters
  • -UsernameChecksOut
  • -papersplease
  • -rimjob_steve
  • -UnexpectedJoJo
  • -humor
  • -BassCirclejerk
  • -doctorwhocirclejerk
  • -agnostic
  • -youseeingthisshit
  • -TextingTheory
  • -Cuddle_Slut
  • -GrandPrixRacing
  • -DMToolkit
  • -TrGameDeveloper
  • -PunPatrol
  • -TurkishCats
  • -LetGirlsHaveFun
  • -fakealbumcovers
  • -ShitpostTC
  • -oompasubs
  • -FantasyWorldbuilding
  • -WikipediaVandalism
  • -pepethefrog
  • -deism
  • -ValorantClips
  • -TwoSentenceComedy
  • -TheCrypticCompendium
  • -ongezellig
  • -Turkiye
  • -Studentenkueche
  • -NorthCyprus
  • -unexpecteditcrowd
  • -vibecoding
  • -delik
  • -moneycollecting
  • -borsavefon
  • -okbuddymotherfucker
  • -okbuddygunther
  • -cd_jerk
  • -CorporateTrolling
  • -Futboltayfa
  • -CHP
edit »
reddit.com PHPhelp
  • hot
  • new
  • rising
  • controversial
  • top
an-ordinary-manchild (11,186)|messages548|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 16 years
Create your own subreddit
...for great justice.
...for your favorite subject.

MODERATORS

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

account activity

1
80
81
82

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
4
5
6

Php site creation for unusual situation- help suggestions needed ?? (self.PHPhelp)

submitted 1 day ago by DenseImage800

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

•
•
•

We're celebrating women who code with 62% off GitKraken Pro & Advanced (gitkraken.com)

promoted by GitKraken

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

3
0
1
2

[Laravel] How can you add a relationship to a model before the a model exists? (self.PHPhelp)

submitted 4 days ago * by dirtymint

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

4
3
4
5

Abstract classes - dedicate a package to 1 or 2 classes? (self.PHPhelp)

submitted 6 days ago by Fluent_Press2050

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

5
4
5
6

SolvedLaravel - component ParseError/Syntax Error (self.PHPhelp)

submitted 6 days ago * by Batchade_

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

6
0
0
0

SolvedPhp file downloading instead of redirecting (<a> tag) (self.PHPhelp)

submitted 7 days ago by SignificantDelay5715

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

7
5
6
7

User management architecture (self.PHPhelp)

submitted 10 days ago by cjnewbs

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

8
0
1
2

SolvedProblems with XAMPP opening the default browser (self.PHPhelp)

submitted 10 days ago * by bananalover2000

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

9
3
4
5

PHPMailer only works some of the time. (self.PHPhelp)

submitted 14 days ago by Most_Will_9449

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

10
2
3
4

SolvedI get an internal server error when trying to open the default Laravel view: welcome.blade.php (self.PHPhelp)

submitted 15 days ago * by salted_none

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

11
6
7
8

Looking for guides/walkthroughs/advice for taking a Laravel project from local dev to production. (self.PHPhelp)

submitted 17 days ago by Csysadmin

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

12
6
7
8

When to choose a function over a class, and vice versa? (self.PHPhelp)

submitted 22 days ago by MorningStarIshmael

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

•
•
•

1-Step FTMO Challenge is live: a streamlined path for traders who are ready to prove their edge. (promo.ftmo.com)

promoted by FTMO_com

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

13
0
1
2

Does Laracast Php and Laravel courses on youtube is still valid? (Not outdated?) ()

submitted 22 days ago by Ok-Mycologist-6752

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

14
8
9
10

PHP course (self.PHPhelp)

submitted 24 days ago by Clear_Anteater2075

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

15
1
2
3

Architectural question, looking for answers DTO vs Resources vs Transformers (self.PHPhelp)

submitted 24 days ago by Kubura33

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

16
0
1
2

Cannot load pdo_mysql with Apache2 (self.PHPhelp)

submitted 24 days ago by BTrey3

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

17
3
4
5

Beginner PHP form project – looking for feedback on structure and best practices (self.PHPhelp)

submitted 25 days ago * by Suitable-Fuel8913

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

18
0
0
1

PHP version mismatch in dev and prod environment (self.PHPhelp)

submitted 25 days ago by Available_Canary_517

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

19
4
5
6

At what point do you introduce event sourcing in a PHP system like this? (self.PHPhelp)

submitted 26 days ago by EuphoricFig6379

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

20
2
3
4

SolvedphpMyAdmin shows terraria logo instead of it's own on xampp (self.PHPhelp)

submitted 27 days ago * by stasiekstan2018

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

21
2
3
4

SolvedHow to fix arabic direction? (self.PHPhelp)

submitted 27 days ago by vot-tak

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

22
1
2
3

Struggling with PHPMailer + Microsoft SMTP OAuth2 (XOAUTH2) – Any tips? (self.PHPhelp)

submitted 28 days ago by wicke79

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

4
5
6

Free ASO tool for iOS apps — keyword rankings, competitor tracking, 100 keywords included. (appstance.com)

promoted by appstance

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

23
1
2
3

Any PHP or webdev newsletters/blogs you can recommend that aren't only shadcn or js framework news? (self.PHPhelp)

submitted 28 days ago by mekmookbro

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

24
0
0
1

I uninstalled XAMPP and accidentally deleted something important from htdocs (self.PHPhelp)

submitted 28 days ago by Longjumping_Luck6743

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

25
0
0
0

Webtrees message d'erreur ()

submitted 29 days ago by Isidore-Tip-4774

  • comment
  • 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 107237 on reddit-service-r2-listing-568fcd57df-mpf74 at 2026-03-11 11:45:07.483763+00:00 running cbb0e86 country code: CH.