- - Code, Content, and Presentation
- ---- How to use JSON with multiple rows from MySQL
Fotiman - 3:43 pm on Oct 1, 2012 (gmt 0)
It's giving you the data twice because you're doing both var_dump and echo, both of which output. If you remove the var_dump, I think you'll have the result you were trying for.
Brought to you by WebmasterWorld: http://www.webmasterworld.com