How To Efficiently Get Values From Php Arrays Using Ajax

Jquery Get Ajax Post Using Php Stack Overflow 1 when you do echo $array;, php will simply echo 'array' since it can't convert an array to a string. so the 'a' that you are actually getting is the first letter of array, which is correct. you might actually need echo json encode($array); this should get you what you want. Learn how to use ajax to fetch data from php arrays, especially when dealing with multiple rows in a database query. this video is based on the question ht.

Beginner S Guide To Using Php Arrays Get Digital With Us

Javascript Displaying Data Using Ajax Php Stack Overflow
Comments are closed.