3 | Learn About PHP Syntax for Beginners | 2023 | Learn PHP Full Course for Beginners

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 55

  • @Kirsty-o8d
    @Kirsty-o8d 9 днів тому +1

    Thank you soooo much I am loving everything

  • @21thTek
    @21thTek Місяць тому +2

    a " Future You " ... brilliant !!

  • @BenjaminEmm
    @BenjaminEmm Рік тому +7

    Oh boy, if only you could see how I've echoed out a TON of HTML within a php string... Time to go and refactor! 😂 Dani saves the day once again.

  • @araghi1979
    @araghi1979 Рік тому +2

    your approach is excellent every body just say that

  • @photoinshot1355
    @photoinshot1355 Рік тому +3

    Very useful information I had previously missed, not using closing tags on php only files and how to embed php within html a better way, very useful and helpful, thanks!

  • @remasrebas3776
    @remasrebas3776 Рік тому +2

    Great explanation!

  • @VortexOfKnoledge
    @VortexOfKnoledge Рік тому +1

    hello i am just a kid learning web development . and recently my father asked me to create a small website for him . (a matriomony website). i was super stuck on the php part . i couldnt notice any errors in it . turns out its because i added the closing tag too . this was a big help

  • @IEmirovic
    @IEmirovic Рік тому +4

    You're the best teacher on the world. Love you man.

  • @stephenokoduwa
    @stephenokoduwa Рік тому +10

    Note this block of code:
    //some html code here
    This code will generate an error unless you have a space before the closing bracket and semi-colon (e.g. ).
    I had to learn this the hard way after a long process debugging this problem on a file with long lines of code.

    • @flanderstruck3751
      @flanderstruck3751 9 місяців тому +2

      As a React and Angular dev, this syntax is just horrific 🤢

    • @MohammedtahirOloruko-Oba
      @MohammedtahirOloruko-Oba 16 годин тому +1

      thanks for this - helped alot. I was just wondering if my editor was having issues

  • @Techtalkswithnonny
    @Techtalkswithnonny Рік тому +21

    echo "Dani Krossing is a genius";

  • @programmingholic
    @programmingholic Рік тому

    useful Thanks for sharing.

  • @GerritforBazeja
    @GerritforBazeja Рік тому +1

    I followed your first 65 lessons on php. I still like the relaxed way, taking time! to explain everything. Big Thank you.

  • @PossumMedic
    @PossumMedic 10 місяців тому +1

    Thanks for the vid! :D

  • @infiniteyouth18
    @infiniteyouth18 Рік тому +4

    for anyone wondering the length of this whole course is 10h 49m 1s.

    • @Dani_Krossing
      @Dani_Krossing  Рік тому

      Gosh dang I have recorded a lot then 😅 good to know for if I make a “one combined video”

  • @CheppaBenkesse-z8t
    @CheppaBenkesse-z8t Місяць тому

    Beautiful video

  • @Techtalkswithnonny
    @Techtalkswithnonny Рік тому +5

    Would really love u to do a step by step react js course

    • @mit1s
      @mit1s Рік тому

      yes please

  • @navymiguelito
    @navymiguelito 4 місяці тому +1

    Me and my OCD trying to clean my monitor after seeing a white dot near the upper-left side of your narrator inset. 🤣 Great instruction btw!

  • @guillerjamesmantala7311
    @guillerjamesmantala7311 3 місяці тому

    thankyou sir

  • @AxxionMarketPlace-iu6ri
    @AxxionMarketPlace-iu6ri Рік тому

    Thank you

  • @AsiPull
    @AsiPull 6 місяців тому

    thank u sir " Dani " lOve u ☺

  • @phemelomogatusi8495
    @phemelomogatusi8495 Рік тому +2

    Will you be doing a real world project in PHP this time? Hopefully a full CMS with Login Pleese.

  • @olga_lc
    @olga_lc Рік тому +1

    Hi and thanks for the videos!
    I was wondering if we have some code formatter like Prettier, or some good Vscode extension for PHP to automatically make those indentations and spaces in code?

  • @vito_b0
    @vito_b0 7 місяців тому +6

    oh, i shoud've learn HTML and CSS first

  • @Stoney_Eagle
    @Stoney_Eagle Рік тому +2

    You can recognize someone who never wrote c# or php by the lack of semicolons 🤣
    This is what made me love Laravel, just using 2 open and close curlies instead of the php tags is soo much nicer.

  • @somalifreelancer6196
    @somalifreelancer6196 Рік тому +2

    I am from somalia

  • @MarcelinaFatima-pz9ic
    @MarcelinaFatima-pz9ic 2 місяці тому

    Should I save the file as a .Html or .PHP?

  • @somalifreelancer6196
    @somalifreelancer6196 Рік тому +2

    Teacher dani we need react course and python special django frame work and tailwind css

    • @jemsync
      @jemsync Рік тому

      Oh please, Dani!

  • @alaaabdou7842
    @alaaabdou7842 9 місяців тому

    Great series I enjoyed it.
    But can't believe Elon Musk has a programming UA-cam channel.

  • @andymalunes8316
    @andymalunes8316 3 місяці тому

    bro i watched this like december 2023, going back right now september 2024, i just understand this lesson way clearer. still a noob tho and slow learner currently at episode 23 xd

  • @Boylagak
    @Boylagak Рік тому

    ❣️

  • @riteshchavan8308
    @riteshchavan8308 9 місяців тому

    😊

  • @amandasjoberg463
    @amandasjoberg463 Рік тому

    Hi! I have programmed in java and python (no server/client things). Do I need to learn HTML before php?

    • @Dani_Krossing
      @Dani_Krossing  Рік тому

      You don't HAVE to learn HTML... But you will quickly realize that HTML is the "interface" that users on your website, will use to activate a lot of your PHP features.
      So it is strongly recommended that you know HTML, since most PHP features involve it.

    • @amandasjoberg463
      @amandasjoberg463 Рік тому

      @@Dani_Krossing oh ok, thanks for responding! So you never JUST use php on it's own? It's always together with html?

  • @connorsilvertree258
    @connorsilvertree258 7 місяців тому

    Given that PHP is in the webpage (just like HTML) it looks like it will be executed in the browser. But it is server-side, does this mean that the PHP is executed in the server before the page is served? If so, is it executed just once or every time the page is served? When executing php, what is produced: HTML/javascript/typescript that will be executed in the browser or something else? It's good to get these concepts right from the beginning. Can you provide a realistic example of when we might want to use PHP?

    • @Dani_Krossing
      @Dani_Krossing  7 місяців тому

      PHP is executed on the server before any front-end, so not alongside HTML, CSS, and JavaScript, which is run inside the browser. Anytime you run code that should not be accessible to the user, we use PHP, and anytime we want to create dynamic content.

    • @connorsilvertree258
      @connorsilvertree258 7 місяців тому

      @@Dani_Krossing Thanks. How can PHP provide dynamic content if it runs earlier than hitting the front end? To be dynamic I'm guessing the PHP is run immediately before serving the page (so it picks up the latest content)?

    • @Dani_Krossing
      @Dani_Krossing  7 місяців тому

      Yes, PHP is loaded every time you open or refresh a page.

  • @astghiksargsyan7819
    @astghiksargsyan7819 2 місяці тому

    Can you help me and point why I cannot embed the php code in the html file?

  • @xavierrousseau4808
    @xavierrousseau4808 11 місяців тому

    So gland toi see ; and {} like in thé c language

  • @SlotWorlddk
    @SlotWorlddk 4 місяці тому

    Getting this error:
    Parse error: Unclosed '{' on line 25
    when writing this:
    Some HTML text.

  • @sodiyaraymond274
    @sodiyaraymond274 6 місяців тому

    Prof. Dani Krossing, please MySQL server isn't running on my XAMPP Control Panel. saying "Error: MySQL shutdown unexpectedly. This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method. Press the Logs button to view error logs and check the Windows Event Viewer for more clues. If you need more help, copy and post this entire log window on the forums".
    WHAT SHOULD I DO?

  • @RespectEveryoneForever
    @RespectEveryoneForever 10 місяців тому

    bro is it mandatory to watch your previous html course before watching this?

    • @Dani_Krossing
      @Dani_Krossing  10 місяців тому

      If you don’t know HTML before getting into PHP, you will struggle a bit yes.

  • @meglolethio3443
    @meglolethio3443 Рік тому

    If I use php, should I use html?

    • @Dani_Krossing
      @Dani_Krossing  Рік тому

      Knowing HTML is most of the time a requirement when getting into PHP yes.

  • @MarkSmith-vo1vn
    @MarkSmith-vo1vn 6 місяців тому

    Bash wants it’s echo back

  • @heismyke
    @heismyke Рік тому

    i am honestly confused about the embedding html with php

    • @Dani_Krossing
      @Dani_Krossing  Рік тому

      Don't worry, we will get to do it a lot in the upcoming lessons. 🙂 Then you'll see actual examples of it being done.