
Jul 17th, 2007, 22:35
|
|
Up'n'Coming Member
|
|
Join Date: Sep 2006
Location: UK
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
Re: Ah form processing doing my head in!
Does this code function just as the inserter, or do you use it to update too?
- PHP: Select all
$insertQuery = ("INSERT into cmsportfolio (client, type, imgpath, imgalt, worklink, section, description) VALUES('$client ','$type','$imgpath','$imgalt','$link','$section','$descr')";
EDIT: IGNORE THIS
Should be:
- PHP: Select all
$insertQuery = ("INSERT into cmsportfolio (client, type, imgpath, imgalt, worklink, section, description) VALUES('$client ','$type','$imgpath','$imgalt','$link','$section','$descr'");
END IGNORE
Should be:
- PHP: Select all
$insertQuery = "INSERT into cmsportfolio (client, type, imgpath, imgalt, worklink, section, description) VALUES('$client ','$type','$imgpath','$imgalt','$link','$section','$descr')";
You added brackets, and didn't add a trailing ")" 
Not exactly sure of your problem though.
Do you get any error messages?
Last edited by balaclave; Jul 17th, 2007 at 23:09.
|