undefined offset when using php explode()

后端 未结 7 1888
闹比i
闹比i 2020-12-03 17:07

I\'ve written what I thought was a very simple use of the php explode() function to split a name into forename and surname:

// split name into f         


        
相关标签:
7条回答
  • 2020-12-03 17:57

    That' strange, it's working correct here. When i try with a string the cat walks and also just the will do and not produce an error. I've outputted it with print_r

    What's your $fullname looks like when you get the error?

    0 讨论(0)
提交回复
热议问题