I recently wrote a complete classifieds script for a web sit ehtat i have been working on. I placed a counter on the form so that when the ad is submitted it is branded wiht its own id # which the script uses later on to bring up the ad individually and show the end-user. The database file itself is a .pag file written by perl itsef using dmbopen(%main, 'main',0666) with "main" as the name of the database file. The problem that i am having is deleteing an ad within that database without removing the other ad's. I would think that removing it by the "id#" would do it jsut fine but i cnat seem to figure it out. I have only been proggin wiht perl for about 3 months now and have advanced quite rapidly in the perl world, but i am completely stumped as far as this simple script goes...any and all help is greatly appreciated! email me at Lord_kfs@hotmail.com or post the response here.
Thanks!
Thanks!