Skip to content
Advertisement

print_r not allowing me to escape []

How can I escape the []? If I execute the following code, it just throws me an error

JavaScript

Advertisement

Answer

The name is just Name and you should use implode to join the pieces back together.

JavaScript

This assumes your parameter is always Name[].

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement