Results 1 to 2 of 2

Thread: PHP/MySQL updating/deleting file with multiple image links.

  1. #1
    Join Date
    Oct 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default PHP/MySQL updating/deleting file with multiple image links.

    Hello, I haven't been here in a while and I didn't want to go posting tons of code for help without asking first.

    I have started a 'car dealership inventory' program for a learning project but im stuck. The program is simple in theory, it allows you to view all vehicle inventory or search the inventory database. Logging in as admin allows y ou to enter the vehicles into the database, as well as modify and/or delete the records.

    The code will let users search and view all, it will allow admin to enter records into the database, but it will not allow them to delete or modify the record at all, also using the unlink function it is supposed to delete the images stored in their file locations when the record is deleted from the database.

    Is this the kind of thing I can get help with here? or is that a bit much?

    anyways, I thank you all for your time and help

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Is this the kind of thing I can get help with here? or is that a bit much?
    As a general rule, we're happy to help with questions we can reasonably answer from just reading the post (and/or looking at a link).
    If it takes more time than that, it might be beyond what we can offer (at least for free-- there's a "paid work requests" section where you could find someone to actually work with you on the project, or do it for you). Sometimes help goes above and beyond, but it just depends on interest. If you're clear with your questions and make it easy to help you, that will greatly increase the odds of getting good help-- I can't emphasize that enough (and it's probably the main reason that some questions never get answered-- unclear posts, not enough information, etc.)
    At the other end of things, one thing we don't do is here do a project for you. We'll offer advice and sometimes a bit of code, but it's almost always in the context of help rather than something we give you-- especially not a finished product.


    So, you're welcome to ask. But I'd suggest splitting your questions into managable bits with clear information on the exact problem. For example, you could start with the unlink() problem. (As a quick guess, I suggest double checking permissions for those files-- that can often be the problem, and it can get a little confusing.)
    Try to avoid posting your whole script/system here (if it's long-- it sounds like it is) so we can just focus on the part that's not working. This can also help you to debug the code yourself-- work in small bits with test pages, then only after it's working try integrating it into everything else. It will probably save you time in the end.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Similar Threads

  1. Deleting old data from mySQL
    By Tissy in forum PHP
    Replies: 18
    Last Post: 09-19-2011, 08:30 PM
  2. deleting multiple records
    By I am Abby in forum PHP
    Replies: 4
    Last Post: 05-14-2010, 10:11 PM
  3. Replies: 17
    Last Post: 02-15-2010, 02:02 PM
  4. Deleting a line of a TXT file.
    By cursed in forum PHP
    Replies: 22
    Last Post: 08-31-2006, 11:25 PM
  5. Replies: 5
    Last Post: 08-20-2006, 04:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •