So i have a set of code which will enter specific data from a .sql file into Wamp to use for a database and place it into a table this table has images in it which are from the www folder in wamp aswell as another source folder in my system. calling the images from the www folder works fine but it keeps having the images from the source folder as NULL even though the path is correct. Here is the table code
create table emp (
Picture LONGBLOB DEFAULT NULL,
Picture_Path varchar(20) DEFAULT NULL
)
Here is the table values
INSERT INTO emp (Picture, picture_path)
VALUES
(load_file('c:/kittens/cat1.jpg'),'/cat1.jpg')
I tried to change make sure i didnt make any mistakes but i am new to SQL so i cant really be sure exactly what i did wrong
edit sorry i changed my original code to show the part i had an issue with there is more code but i forgot to adjust the text to have no comma at the end