0
How to get result_array values from db using script?.please help me. Thank you.
I'm trying to get result array value without reloading a page using script. I'm working in codeigniter.
1 Antwort
0
If you are using client side js, you could use AJAX requests or JQUERY. If you are in a node environment, most database modules are async and can return the array once it is done fetching the data. If you are familiar with promises that is exactly what you are looking for, the array would resolve the promise and just run a promise.then or a promise.all to write the data somewhere.