Salvo Posted September 11, 2003 Posted September 11, 2003 Hi all it is as a standard that one can have the lenght of a manufacturer shorten ie: 15 curecters (it cut the the end of the the name) How do I shorten the namufacuter name at the beginning? ie: manufacturer name: Salvonet From Rome to cut the "Salvonet" and remane "From Rome" (The Salvonet MUST be entered) Thanks
Salvo Posted September 11, 2003 Author Posted September 11, 2003 After all the try and error and reading and reading and asking around. I have used this below and worked and if I put it here just in case someone else needs it... $manu = substr($manufacturers_name,2); Will return the manufacturers name without the first two characters... I put a prefix to order the manufacturers but then I don't want to show it, this is the reason I needed. Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.