Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Why is PHP echoing post with string count?
For some reason when I use the POST method for a from lets says the value to name is Bob. When it echos the
$_POST['name'] is says string(3) “Bob” rather then just printing Bob. Even if I do a var dump it still shows up the same way.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×