Hey there guys and gals. I'm very new to php and am following various tutorials, reading books, watching videos etc.
The reason I'm learning is to create one specific web application, as well as to make that jump from simple geek to proper nerd, of course.
So far I've managed to learn most of what I need to create this web app.
The key part that has thus far eluded me is creating a dynamically-named, pre-defined(structure) database.
Essentially the application is a giant booking system. When a user registers I want the system to create a new database and link it to their account.
Whilst I know that I could easily have a php file that could run some SQL to create a database with all the right tables and columns, I don't know how to give that new database a unique name.
Bu isim aynı zamanda ana kullanıcıları tabloya yazılması gerekiyor ki o müşterinin hesap günlükleri bağlanan bir kullanıcı adı, bu bağlantı dizesinde olduğu veritabanı adı kullanır ve onların verilerini çeker zaman. Ama, ben bir parçası olarak karmaşık olmazdı eminim.
Bu konularda, ben MySQL kullanıyorum. Herhangi bir yardım büyük takdir edilecektir.
Edit: I should've made clear why I need more than one database in the first place, my apologies.
Essentially, it's going to be a private calendar(of sorts) system for businesses. Because of that, there will be an 'owner' of each database and all employees of that person will be utilising their employer's database.