User Profile
Collapse
-
You can do this by submitting the question on the same page with query string as Question_ID. -
You can accomplish this with the followings:
Let us suppose your database tables contains fields username, user_type etc.
user_type can be "admin" or "student"
Then after login you can save this user_type to Session variable like this:
Code:// $user_type is the value of relevant field. $_Session['user_type']=$user_type if($_Session['user_type']=="admin"){
Leave a comment:
-
raorafique started a topic How to fix Fatal Error: Memory Limit Exhausted while reading XLSX file of 5MB or Highin PHPHow to fix Fatal Error: Memory Limit Exhausted while reading XLSX file of 5MB or High
Hi,
I am facing this problem while reading an XLSX files having 40,000 plus rows and 7 columns having 5MB+ file size.
The error description is given here:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in
Can you please suggest me a solution to this problem?
Thanking you in anticipation.
Best Regards,
...
No activity results to display
Show More
Leave a comment: