We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

How to display code styles in forum

Hi all how to inser code styles in forum public function beforeValidationOnCreate() { $this->DiaChiThuongTru = 'Chưa Xác Định'; $this->DiaChiTamTru = 'Chưa Xác Định'; }

Use three backticks ( ` ), followed by "php". Close the code section with three more backticks.

Like:

'''php code here ''' , but with ` instead of '