Forums

PHP

This topic is locked

deleting records

Posted 05 Nov 2001 03:28:08
1
has voted
05 Nov 2001 03:28:08 Keith Slater posted:
Hey I got a form that adds pictures to a directory and stores the name of the picture in the database.. Is their a way so that whena person deletes that record it searched the directory and deletes the picture from there. Or is their a better way of uploading the picture??

Thanks a lot

Keith Slater

Replies

Replied 05 Nov 2001 10:22:47
05 Nov 2001 10:22:47 chief monkey replied:
Keith,
Have a look at the unlink() function

www.php.net/manual/en/function.unlink.php

george



Everybody has got to be somewhere
Replied 05 Nov 2001 15:54:54
05 Nov 2001 15:54:54 Keith Slater replied:
thanks a lot.. I figured it out from there!

Keith Slater

Reply to this topic