Hello Friends i ahve a drop down in which all the values are coming from the database now i have used ajax and jquery for getting the sub categories in another dropdown and its working fine but the problem is when i am using the name of the select box for insertion it always stores the parent id of the category........Please help me friends i am almost lost my job :-(
tarunfuture 0 Newbie Poster
Recommended Answers
Jump to PostHello Friends i ahve a drop down in which all the values are coming from the database now i have used ajax and jquery for getting the sub categories in another dropdown and its working fine but the problem is when i am using the name of the select box …
Jump to Posttry:
$query = "SELECT CategoryID, Name, Discount_percent, Discount_flat, Description, PID FROM slenrjrt_shopping.Category where PID = '$id'";
All 8 Replies
gamebits 0 Newbie Poster
tarunfuture 0 Newbie Poster
tarunfuture 0 Newbie Poster
tarunfuture 0 Newbie Poster
gamebits 0 Newbie Poster
tarunfuture 0 Newbie Poster
tarunfuture 0 Newbie Poster
tarunfuture 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.