Little help needed - mysql
#1

hello guys.

I was creating one system and I have the following things at mysql
Код:
id 
name
text
Now, im selecting these like this:

Код:
format(Query, sizeof(g_Query), "SELECT * FROM police");
		mysql_query(Query);
Now I want such kind thing that if I do /search NAME - if the NAME is in the police database > name then it will show the text. If that NAME is not in the databse then it will not show.

Simply:

/search NAME -> If in database is this name then it will show TEXT that it is in database.

Helpp
Reply


Messages In This Thread
Little help needed - mysql [+rep] - by NewbBeginner - 23.01.2012, 15:06
Re: Little help needed - mysql - by NewbBeginner - 24.01.2012, 12:49
Re: Little help needed - mysql - by MP2 - 24.01.2012, 13:19
Re: Little help needed - mysql - by NewbBeginner - 24.01.2012, 13:54
Re: Little help needed - mysql - by T0pAz - 24.01.2012, 14:00
Re: Little help needed - mysql - by NewbBeginner - 24.01.2012, 14:27
Re: Little help needed - mysql - by Ricop522 - 24.01.2012, 15:06
Re: Little help needed - mysql - by Vince - 24.01.2012, 15:08

Forum Jump:


Users browsing this thread: 1 Guest(s)