22.01.2017, 02:02
(1829) : error 025: function heading differs from prototype
(1830) : error 021: symbol already defined: "split"
LINE:
This only happens when i add
(1830) : error 021: symbol already defined: "split"
LINE:
PHP код:
stock split(const strsrc[], strdest[][], delimiter)
{
new i, li;
new aNum;
new len;
while(i <= strlen(strsrc))
{
if(strsrc[i] == delimiter || i == strlen(strsrc))
{
len = strmid(strdest[aNum], strsrc, li, i, 128);
strdest[aNum][len] = 0;
li = i+1;
aNum++;
}
i++;
}
return 1;
}
PHP код:
#include <mysql>
#define MYSQL_HOSTNAME "127.0.0.1"
#define MYSQL_DATABASE "fuckme"
#define MYSQL_USERNAME "root"
#define MYSQL_PASSWORD ""