Database messing with me again.
Wadup, getting this annoying ass error: Exception reported: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Something has got to be wrong with this, since the tables are being created but client is never inserted into the database. PHP Code:
|
Re: Database messing with me again.
Print your query string to console and try it in something like myphpadmin.
|
Re: Database messing with me again.
In addition you should also always check the return of GetClientAuthId
|
Re: Database messing with me again.
That wasn't the case.
Second query, I use 256 buffer size when It's an easy 300+ |
Re: Database messing with me again.
Will come back to this. Found more issues.
|
Re: Database messing with me again.
You should use '%s' instead of \"%s\". And don't forget about database.Escape when you insert a name in your database (it can contains quotes or apostrophes)
|
Re: Database messing with me again.
Quote:
|
All times are GMT -4. The time now is 23:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.