sử dụng hàm trim();
string trim ( string $str [, string $charlist ] )
ví dụ:
echo trim(" hay nhi ");//se in ra la "hay nhi"
echo trim(" hay nhi ","a");//se in ra la "hy nhi"Nguồn: http://www.lopphp.com/
thiet ke webs pro,, thiết kế webs pro, thiet ke website pro, thiết kế website pro, Thietkewebsitepro,thiết kế web,thiet ke web,giao dien web,giao diện web



0945.022.860


