Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There could be several reasons why the student id is displaying as 0 and the full name is remaining empty. Here are a few possible explanations:

  1. The code that retrieves the student id and full name from the form data is incorrect.
  2. The database table may not have been set up correctly and does not have the correct columns for student id and full name.
  3. There could be an issue with the SQL query used to insert the data into the database. This could be due to a syntax error or incorrect formatting of the query.
  4. The variables used to store the student id and full name may not be properly initialized before their values are set.

To resolve this issue, you should carefully review your code and database setup to identify and fix any errors. Additionally, you may want to use debugging tools and print statements to help you identify the root cause of the problem.