MySQL string saving.
#5

Quote:
Originally Posted by AndreT
Посмотреть сообщение
I think he wants the Faction as an integer (or ID for his system). I doubt mysql_fetch_field_row works with variables as the first parameter.

And I'm sorry, I thought I was looking at strval() the whole time, but it appears to be strlen() instead. That would explain it.

// edit no idea why I thought he wants it as an integer value. I assumed it from what I thought was strval I think!
You doubt it works with variables as the first parameter? If "save" isn't a variable, what is it? The functions first parameter asks for a string, so it'll work if you give it a string!
Reply


Messages In This Thread
MySQL string saving. - by Kingunit - 06.11.2011, 14:50
Re: MySQL string saving. - by AndreT - 06.11.2011, 17:04
Re: MySQL string saving. - by JaTochNietDan - 06.11.2011, 17:07
Re: MySQL string saving. - by AndreT - 06.11.2011, 17:11
Re: MySQL string saving. - by JaTochNietDan - 06.11.2011, 17:25

Forum Jump:


Users browsing this thread: 1 Guest(s)