Codeigniter shopping cart class cannot add Chinese solution
This article mainly introduces the "Codeigniter shopping cart class can not add Chinese solution", in the daily operation, I believe that many people have doubts in the Codeigniter shopping cart class can not add Chinese solution, the editor consulted all kinds of information, sorted out a simple and easy-to-use operation method, I hope to answer the "Codeigniter shopping cart class can not add Chinese solution" is helpful! Next, please follow the editor to study!
The copy code is as follows:
If (! Preg_match ("/ ^ [. $this- > product_name_rules."] + $/ I ", $items ['name']))
{
Log_message ('error',' An invalid name was submitted as the product name:'. $items ['name']. The name can only contain alpha-numeric characters, dashes, underscores, colons, and spaces')
Return FALSE
}
At this point, the study on "Codeigniter shopping cart class can not add Chinese solution" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!