Good I attach the errors and others. So it seems that I do not interpret the php code well and I do not know why.