OK, Correction...
I just realised that there was an error on the strrev function on my website...
The lines marked with red are the lines that I have edited!PHP Code:
char* strrev(char* src)
{
int len = 0;
[color=red]char temp;[/color]
// first get the length
while( src[len] ) len++;
[color=red]// now reverse them[/color]
for( int i = len; i > len \ 2; i-- )
{
temp = src[i];
src[i] = src[len-i];
src[len-i] = temp;
}
// return the reversed string
return src;
}
Regards,
MoMad
PS: I am working on that DB and website... let me know if you want to host it or if you want me to host it or what you are thinking.
Peace! BTW, I am also working on a game, but dont think that will slow me down because I am also working on many other things and all in different languages (html, actionscript, php, javascript, c/c++, vb, ...) and all at the same time... so if i start bugging out, you know why!!
