hi, i have searched every where but could not get how to write or read objects of class or stucture in file through php. for ex. if i had structure like this in c++,
Code: Select all
str student { int roll;char name[50]; }
then we can easily write it into a file through
file.write() function. Is there anyway to do the same in php??