$subject_set =
find_all_subjects();
$subject_count = mysqli_num_rows($subject_set);
$subject_set = find_all_subjects();
Here, "find_all_subjects" returns the subject list which gets stored in "subject_set".
$subject_count = mysqli_num_rows($subject_set);
Further "mysqli_num_rows" returns the number of rows in the passed argument data set i.e. "subject_set" here, which gets stored in "subject_count"
Session can be used to:
- To store the website visit history of a particular user
- To store purchase cart items when shopping online
- To store the login password for a website, for a particular user login.
Get Answers For Free
Most questions answered within 1 hours.