Answer the question
In order to leave comments, you need to log in
Choose serialize or json_decode?
I want to store information about weekends/working days and working hours in the database. 1 cell = 1 month.
Example:
$arr = array(
'1' => 0, // 1е число выходной
'2' => 8-18, // 2го числа работают с 8 до 18
'3' => 9-14 // 3го числа работают с 9 до 14
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question