Jupi Posted June 18, 2015 Posted June 18, 2015 السلام عليكم شباب اليوم عندي استفسار بخصوص SQLite بختصر الموضوع و اقول في وظيفة تتحقق اذا كان الرو موجود بلكولمن؟؟
Jupi Posted June 19, 2015 Author Posted June 19, 2015 https://forum.multitheftauto.com/viewtopic.php?f=164&t=56729 قريت الموضوع من قبل و فهمته كله بس ما لقيت المطلوب
</Mr.Tn6eL> Posted June 19, 2015 Posted June 19, 2015 https://forum.multitheftauto.com/viewtopic.php?f=164&t=56729 قريت الموضوع من قبل و فهمته كله بس ما لقيت المطلوب SELECT هي طلبك
Jupi Posted June 19, 2015 Author Posted June 19, 2015 https://forum.multitheftauto.com/viewtopic.php?f=164&t=56729 قريت الموضوع من قبل و فهمته كله بس ما لقيت المطلوب SELECT هي طلبك ممكن مثال للتحقق؟ + خذ الفكرة اللي ابي اسويها الفكرة انه لما يضغط علي زر يضيف رو للجريد ليست اللي انا مسويه الاضافة و الاستدعاء شغال تمام الحين ان اابي تحقق اذا الكان الرو موجو بلجريد ليست عن طريق SQLite
</Mr.Tn6eL> Posted June 19, 2015 Posted June 19, 2015 local result = executeSQLQuery("SELECT * FROM table WHERE row=?", "tn6el") if result and type(result) == "table" and #result ~= 0 then outputChatBox("yes") else outputChatBox("no") end
ALw7sH Posted June 19, 2015 Posted June 19, 2015 التحقق بيكون على حسب وش الي ضفته بالرو انت او باختصار وش الكولمنز الموجودين
Jupi Posted June 19, 2015 Author Posted June 19, 2015 local result = executeSQLQuery("SELECT * FROM table WHERE row=?", "tn6el") if result and type(result) == "table" and #result ~= 0 then outputChatBox("yes") else outputChatBox("no") end ضبط اخي شكرا والله يخليك افدتني كثير
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now