Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: getting the file names from uploaded files #6066
    ljackson
    Participant

    hi mate,

    got it working ๐Ÿ™‚ thanks

    here is the updated code

    foreach($attachments as $image)
    {
    $filename = $image['filename'];
    $query4 = "INSERT INTO tbl_accommodation_images (accommodationID,fileName) VALUES ('$aID','$filename')";
    mysqli_query($con, $query4) or die(mysqli_error($con));
    }

    in reply to: An Ajax error occurred #6036
    ljackson
    Participant

    just changed to mysqli from mysql and its now working on my localhost.

    strange!!

    think you might be correct, as that is one of the things ive changed n my code ๐Ÿ™‚

    • This reply was modified 11 years, 9 months ago by ljackson.
    in reply to: An Ajax error occurred #6032
    ljackson
    Participant

    thats good ๐Ÿ™‚

    yes its being run through wamp server and i cant see any problems in firebug.

    the only thing i have noticed is if javascript is disabled it will say

    The connection was reset
    The connection to the server was reset while the page was loading.

    in reply to: An Ajax error occurred #6027
    ljackson
    Participant

    thanks for your reply,

    here is a link to my form

    http://www.kernow-connect.com/quform/add_job.php

    i was testing on my localhost and did have it working but then it stopped all of a suddon, iโ€™ve uploaded it to my test server and created the db etc and it is working on the live site above the problem has gone, but im not sure if it will come back again as it is still occuring on my localhost?

    could you look at the page for potential problems please?
    thank you

Viewing 4 posts - 1 through 4 (of 4 total)
Be inspired. ยฉ 2025 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy