My supervisor gave me an assignment on PHP and SQL, and I've tried to solve it, but all to no avail. How can I update the records on my table, by adding a string into the specified field? For example, if the record in a column/field is 'P000M000D000'. How can I add a '0' before the 'M' or 'D' without replacing the entire string. An UPDATE query would replace the entire record in that column with the added string, and I don't want that.
Does anyone know the string function I need to use?
Kelvin