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

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

python - Writing Greek in matplotlib labels, titles -

ruby on rails - Add fingerprint to old paperclip attachments -