Zaloguj | Zarejestruj | FAQ
Anonymous

Functions Lesson 9 PHP

+ Odpowiedz

Posty: 2 Strona 1 z 1


Functions Lesson 9 PHP

przez Devantlefleuve » Cz paź 01, 2015 1:10 pm

Hi, and firstly : Very Nice job. That's a thrue pleasure to learn PHP here. :-)

Just a remark about exemple code function EnglishDateTime,

I think there is missing a "", before Monday in the definition of $arrDay, With the provide code we get the tomorrow name of day, maybe it should be :

$arrDay = array("","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday");

Thanks for your job (and sorry for my bad english)
Avatar użytkownika

Devantlefleuve

  • Posty: 1
  • Dołączył(a): Cz paź 01, 2015 12:40 pm

Re: Functions Lesson 9 PHP

przez nanoverso » So paź 03, 2015 3:50 pm

Particularly I don't like this empty array member approach, think some index shift would be more logic.
Avatar użytkownika

nanoverso

  • Posty: 254
  • Dołączył(a): So maja 10, 2014 12:08 am
  • Lokalizacja: Brazil


+ Odpowiedz

Strona 1 z 1