Results 1 to 2 of 2

Thread: addslashes problem

  1. #1
    Join Date
    Aug 2006
    Posts
    65
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default addslashes problem

    I cant seem to get this to work... I think I have the quotes in the wrong spot?


    Code:
    $insert = "INSERT INTO OfficeComputers(Site_Code, OS, DHCP, IP, Gateway, DNS, MAC, VerifyIP, Purpose, RunUpdate, ScheduleUpdate, AVvendor, AVExpiration, RunSpyScan, CheckConn, FlushDNS, CheckVPN, CheckRD, CheckMRI, CheckPrinting, Notes) VALUES('addslashes($p_SiteName)', 'addslashes($p_OS)', 'addslashes($p_DHCP)', 'addslashes($p_IP)', 'addslashes($p_Gateway)', 'addslashes($p_DNS)', 'addslashes($p_MAC)', 'addslashes($p_VerifyIP)','addslashes($p_Purpose)', 'addslashes($p_RunUpdate)', 'addslashes($p_ScheduleUpdate)', 'addslashes($p_AVvendor)', 'addslashes($p_AVExpiration)', 'addslashes($p_RunSpyScan)', 'addslashes($p_CheckConn)', 'addslashes($p_FlushDNS)', 'addslashes($p_CheckVPN)', 'addslashes($p_CheckRD)', 'addslashes($p_CheckMRI)', 'addslashes($p_CheckPrinting)', 'addslashes($p_Notes)')";

    can someone help please

  2. #2
    Join Date
    Aug 2006
    Posts
    65
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    Fixed...............

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
  •