Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »Web Design Forum »Programming Forum

Notices

Programming Forum Web and Software Programming Forum - Java, PHP, SQL etc.


Reply
 
LinkBack (3) Thread Tools Display Modes
  3 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 02-10-2007, 11:49 AM
jontywagener's Avatar
Experienced Member
 
Join Date: Oct 2007
Location: South Africa
Posts: 126
Default Deleting files with php and removing the reference from mysql

Hi guys,

I have built a little gallery manager in PHP / MySQL. I have created it so that you upload files to the server using PHP and then you leave a reference to the image inside the MySQL database. That all works fine.

The fun comes when I want to delete the images, I would need to unset them from the folder on the server and would also need to remove the reference from the database.

Does anyone know how that could be done?? I sorta know what the script should contain but I do not really have an idea how it would be done.

thanks, bye bye
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #2 (permalink)  
Old 02-10-2007, 02:13 PM
jontywagener's Avatar
Experienced Member
 
Join Date: Oct 2007
Location: South Africa
Posts: 126
Default

come on guys, please help...
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #3 (permalink)  
Old 02-10-2007, 02:15 PM
James Jones's Avatar
Underdeveloped Member
 
Join Date: Jan 2007
Gender: Male
Posts: 494
Default

Haven't got a clue have you had a search on google
__________________
Illustration Design Blog - Designed by Graphic Design Forum * Graphic Design Blog
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #4 (permalink)  
Old 02-10-2007, 02:17 PM
Kelly Creative's Avatar
Who's Ya Daddy Bee-atch!
 
Join Date: Jan 2007
Location: On The Edge
Gender: Female
Posts: 3,216
Default

try a programming forum, mostly designers here
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #5 (permalink)  
Old 02-10-2007, 02:18 PM
jontywagener's Avatar
Experienced Member
 
Join Date: Oct 2007
Location: South Africa
Posts: 126
Default

cool, cool...
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #6 (permalink)  
Old 02-10-2007, 02:23 PM
Kimran's Avatar
Member
 
Join Date: Oct 2007
Posts: 92
Default

I had a quick scout around on google and couldn't find anything, sorry.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #7 (permalink)  
Old 02-10-2007, 07:21 PM
tepe's Avatar
Greatly Inebriated
 
Join Date: Mar 2007
Location: Gothenburg
Gender: Male
Posts: 2,871
Default

I know some SQL but I don't think I don't know how to help you..sorry =/
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #8 (permalink)  
Old 02-10-2007, 07:25 PM
flick's Avatar
official g33k ®
 
Join Date: Aug 2007
Location: Manchester
Gender: Female
Posts: 2,026
Default

these are the best links i've found for SQL yet, I use them all the time:
SQL Tutorial
SQL Topics
I think that specifically you should look at the DELETE statement (be careful though!)
__________________
-- my new favourite g33k site: http://parsed.org --
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #9 (permalink)  
Old 02-10-2007, 07:26 PM
jontywagener's Avatar
Experienced Member
 
Join Date: Oct 2007
Location: South Africa
Posts: 126
Default

cool, dont worry i figured it out all by myself... thanks for all the suggestions anyway
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #10 (permalink)  
Old 02-10-2007, 07:28 PM
tepe's Avatar
Greatly Inebriated
 
Join Date: Mar 2007
Location: Gothenburg
Gender: Male
Posts: 2,871
Default

databases are quite fun and interesting actually..but it s*cks when there's a problem =)
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
Reply


« FCK editor | Joomla »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting backlink? Acuity Search Engines 3 27-02-2008 10:59 AM
Old WordPress plugins (removing) PolarBear General Web Design Forum 7 09-01-2008 03:20 PM
Clipping Path, Photoshop Masking, Removing Backgrounds from your Pictures! ritchelclips Advertising Forum 5 25-09-2007 06:14 AM
“Simpsons” Scenes and their Reference Movies pablo795 Off Topic 0 23-09-2007 06:50 PM
Saving .MAX files with baked textures as .X files (or .3DS) lalex48 Graphic Design and Web Design Help 0 28-06-2007 09:40 AM


All times are GMT. The time now is 09:50 AM.



Estetica Design Forum's Privacy Policy
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5