登录 | 注册 | FAQ
Anonymous

Functions Lesson 9 PHP

+ 发表回复

2 篇帖子 分页: 1 / 1


Functions Lesson 9 PHP

Devantlefleuve » 周四 10月 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)
头像

Devantlefleuve

  • 帖子: 1
  • 注册: 周四 10月 01, 2015 12:40 pm

Re: Functions Lesson 9 PHP

nanoverso » 周六 10月 03, 2015 3:50 pm

Particularly I don't like this empty array member approach, think some index shift would be more logic.
头像

nanoverso

  • 帖子: 253
  • 注册: 周六 5月 10, 2014 12:08 am
  • 地址: Brazil
--
Free VST Plugins Download.


+ 发表回复

分页: 1 / 1