Posts by Rodrigo • 1 point
2 posts
-
0
votes0
answers33
viewsQ: Display directories and subdirectories
I have a routine to read and display files and directories in PHP. My problem is to read directories within subdirectories. <?php // linux $dir = new DirectoryIterator( '/www/sistema/fotos/' );…
-
0
votes1
answer878
viewsQ: Delete SQL record with dependency
Good afternoon. I wonder how to delete records from a table containing foreign key. I would not like to delete the children records (to keep the history). I always get a message warning that there…