Kind time your help for a spelling of some of mine задумок is necessary To me, but for this purpose it is necessary for me to receive some skills on operation with a database. I hope you will help))
Some primitive tasks which it would be necessary to solve)
development Conditions:
1. Database MySql:
db_name = "testname"
db_user = "testuser"
db_pass = "testpass"
the table
test a table design:
[IMG]http://img530.**************/img530/9821/testtable.jpg[/IMG]
2. server with AMXX
The task to write plug-ins for operation with this base:
1. The plug-in which would select from a
DB a value
x And printed in server console a value
2. The plug-in which would select from a
DB a value
x and a variable
y would bring them in the array, and then output in the console of a server value of variables.
3. The plug-in which would select from a
DB a value
x and a variable
y added two variables and created new string of record in the table with
variable = cAnd
value value in the form of their sum.
4. The plug-in which would refresh value of new string
c. If
c = 5 then replace on 0
Well and what a thread a plug-in for record removal in the table in general.
Excuse me for my English I from Russia