Hi
i hope someone can help me please?
I have a mysql database with product ID’s.
the ID’s are always 8 characters long (example - NZL01254)
the issue is that the record Id’s reflect the same code but without NZL and the leading 0’s
so when i click on a product link i have ?PID=123 when it should be ?PID=NZL00123
sometimes the code is NZL00012 or NZL01234
the above are example codes.
the actual codes range from 1 - 2767
So my question is can i please have a piece of code that will read the record ID’s and then insert the NZL and the right amount of 0’s after the NZL so the whole product ID is 8 characters long?
Thanks in advance
Peter