php - Inserting data into a sql query from a text box in a html form -


 <कोड> का चयन करें ticketDescription, ticketTimeDate, ticketCategory, ticketServerity, user.userLocation, user.userFirstNames, user.userSurname, उपयोगकर्ता। userDepartment, user.userContactNumber, user.userEmailAddress टिकट बाएं से शामिल हों ticketHistory पर ticket.ticketID = ticketHistory.ticketID वाम ticketHistory.technicianID = technician.technicianID वाम उपयोगकर्ता शामिल हों पर तकनीशियन शामिल हों पर ticket.userID = user.userID कहां ticketResolved = '0' और तकनीशियन। TechchnicianID = '1'  

मैं पूर्णांक को बदलने की कोशिश कर रहा हूं जहां एसक्यूएल क्वेरी तकनीशियन आईडी के आधार पर परिणाम लौट रहा है। (अंतिम पंक्ति) मैं '1' को टेक्स्ट बॉक्स से मान के साथ एक html फार्म पर बदलना चाहता हूं, जिसमें उपयोगकर्ता भर जाएगा और सबमिट करें पर क्लिक करें। फिर HTML फ़ॉर्म की ऐसी गतिविधि में टेक्स्ट बॉक्स से मूल्य डाल दिया और technician.technicianID = ' **' जहां पाठ बॉक्स के मूल्य की जगह लेंगे **

लगता होगा काफी सरल है, लेकिन मुझे पूरी तरह से स्टम्प्ड है!

आप नीचे दिए गए की तरह कर सकते हैं:

  सेट @ इनपुट 1 = 1 ; ticketDescription, ticketTimeDate, ticketCategory, ticketServerity, user.userLocation, user.userFirstNames, user.userSurname, user.userDepartment, user.userContactNumber, user.userEmailAddress चयन टिकट बाएं से शामिल हों ticketHistory पर ticket.ticketID = ticketHistory.ticketID बायाँ शामिल हों ticketHistory पर तकनीशियन .technicianID = technician.technicianID बाईं तरफ ticket.userID = user.userID उपयोगकर्ता शामिल हों जहां ticketResolved = '0' और technician.technicianID = @ इनपुट 1;  

Comments

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

sql server ce - Is there some way to make sqlce3.5 and 4.0 co-exist in the C# project -