hey, so currently im adding a function to change the user_code in the profile settings. i added the input and everything but im now stuck on the backend functions (im pretty new to php). so i managed to change the user_code in the users tab and also rename the folder in the storage. but i noticed that the old links weren't working anymore and that is because of the storage_path which is not getting changed in the uploads tab because it also has the user_code included in itself.
can somebody help me on a request of changing every user_code in a storage_path from the user?
i know what i need to do but i don't know how to implement it.
this is the code so far (i can't do code brackets because of the ``:
hey, so currently im adding a function to change the user_code in the profile settings. i added the input and everything but im now stuck on the backend functions (im pretty new to php). so i managed to change the user_code in the
users
tab and also rename the folder in the storage. but i noticed that the old links weren't working anymore and that is because of the storage_path which is not getting changed in theuploads
tab because it also has the user_code included in itself.can somebody help me on a request of changing every user_code in a storage_path from the user?
i know what i need to do but i don't know how to implement it.
this is the code so far (i can't do code brackets because of the ``:
https://hastebin.de/jeqovolafa.php
thanks.