Get data from specific row in Database
Hey gang,
I'm new to the world of PHP, but learning a lot as I go.
I'm trying to get data from a specific row in a database.
i tried something like this:
PHP Code:
echo $row[20]['busname'];
...but that obviously doesn't work. Any thoughts on how I can do this?
Re: Get data from specific row in Database
Please post the code for fetching part. What are you using, PDO, Mysqli or mysql_ functions ?
If you are having doubt on the keys of the array, try using the print_r()
:wave: