Need to delete specific records in My SQL DB (1 reply)
Submitted by sudeepg on Fri, 08/15/2008 - 08:28.
Hi,
I am a newbee as far as My SQL is concerned. I bought a website with a database full of products. I'd like to delete specific records. I want to delete those records with a price less than $4.95 and all products that don't have a photo.
The table is called 'goods'
Price is in the 'price' field ie. $6.95 is 695
Product photo is in the 'photoUrl' field ie. http://www.site.com/pic.jpg. The field is empty if no photo exists.
I'd like to run php and eventually make it a cron job. If someone could help me with the code, I'd appreciate it.
Regards,
Tom

Recent comments
24 weeks 11 hours ago
24 weeks 4 days ago
24 weeks 4 days ago
24 weeks 6 days ago
25 weeks 4 days ago
27 weeks 5 days ago
30 weeks 5 days ago
33 weeks 4 days ago
34 weeks 2 days ago
35 weeks 1 day ago