How exactly do Databases (MySQL, SQL, Access, ect.) work? I haven't seen them specifically create files to store the info, and I don't know how else they would work, as variables within the program itself would be deleted after the program is closed. Especially MySQL, how does PHP connect to it, write to it, and save it without files? Thanks all .