Checking for 'type', how to set the validation rule



SELECT @@global.time_zone, @@session.time_zone;


returned



'SYSTEM', 'SYSTEM'


so MySQL is set to the same as my system's time, which is correct, so I've changed my php.ini to the following and restarted Apache



date.timezone = 'Africa/Johannesburg'


according to http://www.php.net/m…ones.africa.php, but the inserted time is still one hour more than my system time

I've created a test table and executed the following statement



INSERT INTO test.test (name, create_time) VALUES ('wilna', NOW())


and the date was the same as my PC system time, so I figure that it must be with PHP then. Have I set it correctly in my php.ini above?

how to do different validations for single form? example please