I’m trying to store directory path in the database (as we’ll be using them in our project very often) and stuck on a question – which way of storing directory paths is more favorable:
/my/directory/path/– with an ending slash/my/directory/path– without an ending slashmy/directory/path- something else?
Any suggestions are greatly appreciated.
Makes no difference. Choose one and stick with it.
So long as your path handling routines handle the data the same way, you will be fine.