27.02.2019, 11:28
name is not an array.
Furthermore you need to use strlen(name) in order to check its length.
And it's empty since you don't assign it any value.
You could simply use params for input since there's no point in copying it into name first, and then copy it again into your array.
Use isnull(params) to check whether its empty or not.
Furthermore you need to use strlen(name) in order to check its length.
And it's empty since you don't assign it any value.
You could simply use params for input since there's no point in copying it into name first, and then copy it again into your array.
Use isnull(params) to check whether its empty or not.