I have web-site and I need to create that step-by-step adds:
- Selecting Country, city, etc
- more information about project
- Photos
- Message/etc
How is correct to do these steps? Get paraemtrs like step/1/ and get info from DB on every step, use $_SESSION(Save step num, info from prev.) or.. ? in each step i need to get information from previous step, in code i have this structure:
class Manager {
__construct() { ...method call}
private function addNewObject() {}
private function addNewStep2() {}
private function addNewStep3() {}
private function addNewStep4() {}
}
thanks