Jump to content

x[ تصحيح كود ]x SQL


A7M8D

Recommended Posts

السلام عليكم

عندي مشكلة

انا عامل 4 خانات في جدول SQ;

الايدي - العنوان - الرسالة

في مشكلة لما اجيب رسالة عن طريق العنوان يكتب الرسالة

text

وليست الرسالة الاصلية


addEvent( 'getAdFromID', true )
addEventHandler( 'getAdFromID', root,
function( AdName )
local check = dbQuery( DB, ' SELECT * FROM `Shro7at` WHERE Subject = ? ', AdName )
local results = dbPoll( check, -1 )
if ( type ( results ) == 'table' and #results == 0 or not results ) then return end
local text = results[1]['TEXT']
triggerClientEvent( source, 'ShowWithInfo', source, text )
outputChatBox(""..text.."")
end )

وانا حاطط رسالة في الشات عشان احتبر

يجي

a boolen value

ارجو التصحيح

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...