the output i get ($itemname) only contains the first word of the item title which is displayed in the select list. because of this the following SQL query fails to get the item_id field which is needed to update the other tables. Anyone have any ideas ? this is sort of a continuation of an earlier post entitled "help with php resource id" if anyone wants to see the whole code it is there. Thanks.

irenaught

07-31-2008, 11:33 AM

Ok I used a work around where i changed the names stored in the DB field item_name into underscored together strings so all the words are the first word. It works but I am still very curious to know why this was happening. Anyonw who can take a stab at it even if its just a guess that would be great. Just please tell me wether you know or if its a guess. This is the first thing I have ever coded so any help is awesome. Thanks again.

CFMaBiSmAd

07-31-2008, 03:01 PM

Your HTML for the value="..." parameter is missing the quotes around the value "your_value_here"