php working in widgets