Hello all, I am not a programmer but I can wade my way through getting what I want to accomplished usually but I'm having trouble trying to describe what I'm looking to do in php terminology.
I'd like to create a page that has a submission form for a string with specific amount of characters (10) then split(explode?) this string into 5 parts.
For Example: If the submitted string is "KPOISDD011" then I want it split like K | PO | ISD | D | 001 and then for each item refer to a database and grab another string of text that corresponds for each item and then display it.
In this example K = Kent, PO = Professional Office, ISD = Information Services Department, D = Desktop, 011 = 011
I understand if I want to explode this string then I need a separator but not sure how to go about doing this. I feel like this is basic PHP but just a little bit more advanced than what I can understand. Any help would be much appreciated.
I'd like to create a page that has a submission form for a string with specific amount of characters (10) then split(explode?) this string into 5 parts.
For Example: If the submitted string is "KPOISDD011" then I want it split like K | PO | ISD | D | 001 and then for each item refer to a database and grab another string of text that corresponds for each item and then display it.
In this example K = Kent, PO = Professional Office, ISD = Information Services Department, D = Desktop, 011 = 011
I understand if I want to explode this string then I need a separator but not sure how to go about doing this. I feel like this is basic PHP but just a little bit more advanced than what I can understand. Any help would be much appreciated.