small php problem solutions