Codeigniter url creation for newly added product in database |
12-13-2015, 02:10 PM
(This post was last modified: 12-13-2015, 02:11 PM by PaulD. Edit Reason: small typo )
There are lots of approaches. One is to ask your user to give a unique HTML name for the product when they are creating it. Another is to url_encode the product name, say, so spaces become underscores etc. Another is to encode the product name with the model number combined, removing any non URL permitted characters. You can do all this with php functions, or CI helpers, or generate your own method.
http://www.codeigniter.com/user_guide/he...#url_title Hope that helps, Paul. |
Messages In This Thread |
Codeigniter url creation for newly added product in database - by Codeigniter_Learner - 12-13-2015, 05:34 AM
RE: Codeigniter url creation for newly added product in database - by PaulD - 12-13-2015, 02:10 PM
|