Quote:
Originally Posted by krekers
Thank you very much
All ok, but when I compiled, there showed some warning:
PHP Code:
// plugin.sma(31) : warning 217: loose indentation
the code:
PHP Code:
dbi_query(dbc, "INSERT INTO table (blah) VALUES ('amx')")
The plugin works, but why there showed warning?
|
That warning does not effect the runtime of your plugin, its just a compiler
warning telling you that you have messy code usually.
One thing I'd like to point out is that if you want to protect your server from
SQL injection then use full quotions:
Code:
dbi_query(dbc, "INSERT INTO `table` ( `blah` ) VALUES ( ^"variable^" );");
__________________