Hi Jason
Thankyou for your help, i have added the code but i dunno if i have done it right? When i open the page i have this code shown below, it pushes my header down the page and has this:
Notice: Undefined variable: WA_Sql in C:\xampp\htdocs\PrintingColourUK.Com\Templates\Adminproducts_Update.php on line 120
SQL: Status object: WA_UploadResult1
statusCode : -1
errorMessage :
clientFileName :
fileExtension :
serverFileName :
serverSimpleFileName :
serverDirectory :
contentType :
fileWasOverwritten :
fileWasSkipped :
fileWasRenamed :
fileSize : -1
isImage :
imageWidth : -1
imageHeight : -1
WA_UploadResult1_1:
clientFileName :
fileExtension :
serverFileName :
serverSimpleFileName :
serverDirectory :
contentType :
fileSize : -1
imageWidth : -1
imageHeight : -1
Then if i try an Image Uplaod i get this:
SQL: UPDATE `products` SET `ProductName` = 'A5 Flyer (148 x 210mm)', `ProductPrice` = 24.99, `ProductShortDesc` = 'Our high quality promotional flyers are printed in full colour (CMYK) including Digital Photograph. Printed Full Colour on 135gsm Gloss Art Paper.', `ProductLongDesc` = 'Our high quality promotional flyers are printed in full colour (CMYK) including Digital Photograph. Printed Full Colour on 135gsm Gloss Art Paper.', `ProductImage` = 'A4_Flyer.jpg' WHERE `ProductID`=1Status object: WA_UploadResult1
statusCode : 1
errorMessage :
clientFileName : A4_Flyer.jpg
fileExtension : jpg
serverFileName : A4_Flyer.jpg
serverSimpleFileName : A4_Flyer
serverDirectory : C:\xampp\htdocs\PrintingColourUK.Com\Templates\..\Shop\ShopImages\
contentType : image/jpeg
fileWasOverwritten : 1
fileWasSkipped :
fileWasRenamed :
fileSize : 9723
isImage : 1
imageWidth : 180
imageHeight : 230
WA_UploadResult1_1:
clientFileName : A4_Flyer.jpg
fileExtension : jpg
serverFileName : A4_Flyer.jpg
serverSimpleFileName : A4_Flyer
serverDirectory : C:\xampp\htdocs\PrintingColourUK.Com\Templates\..\Shop\ShopImages\
contentType : image/jpeg
fileSize : 9723
imageWidth : 180
imageHeight : 230
isImage : 1
fileWasOverwritten : 1
fileWasSkipped :
fileWasRenamed :
statusCode : 1
I have attached copy of Upload.php for you in-case i have added the code wrong.
Regards Karl