如何使用php从MySql数据库打印网页上的结果[关闭]

I have a school website, I have uploaded the students examination result to the database but now I want to make a search bar by which can the student search their result by typing their roll number. please someone give me the code. please

@wajahat-aftab - you can always find a great tutorial to do this. Here are few of the links

  1. https://www.youtube.com/watch?v=N_S7_wg87GU
  2. http://html.net/tutorials/php/
  3. http://www.htmlgoodies.com/beyond/php/article.php/3472391

Basically you need to get the data, manipulate it and send it to the HTML page. Once you get the data in HTML you can present it any kind of look-n-feel as per your needs.

You can not expect exact answers for such questions - so I suggest you to be more specific with QUESTION and make sure that you also share the source code that you tried so far.