0

Select name from student where id= '1'; how to store this query result in to a variable

5th Nov 2020, 12:01 PM
basil babu
4 odpowiedzi
+ 1
Sorry about the broken link, seems they're having a problem. Maybe you can instead learn from this one https://www.tutorialspoint.com/mysqli/index.htm
5th Nov 2020, 1:51 PM
Ipang
+ 1
Ok thanks sir
5th Nov 2020, 2:40 PM
basil babu
0
A query result is basically stored into a resultset, how data is read from the resultset depends on what you use for querying the database server e.g. PDO or mysqli. I recommend you read this page, it is quite helpful to get started 👍 https://phpro.org/tutorials/Introduction-to-PHP-PDO.html
5th Nov 2020, 1:23 PM
Ipang
0
The DB server is mysqli and link is not working
5th Nov 2020, 1:38 PM
basil babu