abarba Posted October 10 Share Posted October 10 I have tested scripz and found an error: After login with admin/admin I tried to add new user (member). I entered all required fields and when I press Create, received error that user was not added. I examined code of : MysqliDb.php. I found error on line: 928 $this->_query .= ' (`' . implode($tableData, '`, `') . '`)'; Line 928 should be: $this->_query .= ' (`' . implode('`, `', array_keys($tableData)) . '`)'; Regards Ante MysqliDb.php Link to comment Share on other sites More sharing options...
Andreik Posted October 10 Share Posted October 10 What are you talking about, how it's related to AutoIt and why did you post in this section of the forum reserved for example scripts? Link to comment Share on other sites More sharing options...
abarba Posted October 11 Author Share Posted October 11 Hi Andreik, This is example ofcombination of AutoIt script and PHP script. I found an error in one PHP script so the complete example does not work. You cannot CREATE NEW user if you try downloaded zipped example? I solved an error (wrong usage of implode() PHP function), so complete example work fine. You can upload MysqliDb.php script and try complete example. Regards, Ante Link to comment Share on other sites More sharing options...
Developers Jos Posted October 11 Developers Share Posted October 11 Moved to the appropriate AutoIt General Help and Support forum, as the AutoIt Example Scripts forum very clearly states: Quote Share your cool AutoIt scripts, UDFs and applications with others. Do not post general support questions here, instead use the AutoIt Help and Support forums. Moderation Team SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Developers Jos Posted October 11 Developers Share Posted October 11 I still fail to see the AutoIt3 relation here. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
argumentum Posted October 11 Share Posted October 11 (edited) 8 hours ago, abarba said: I solved an error (wrong usage of implode() PHP function), so complete example work fine. Nice. It would also be good to make your post in the tread with the original code is at otherwise no one will have a clue of what you just fixed. Where did you find the example at ? ( share the link ) Edited October 11 by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
bogQ Posted October 14 Share Posted October 14 I do get that php and AutoIt do look alike to some extent like $ to start variables, some similar function names and their way for usage, but this code do look like Laravel like way of handling queries with mysql queries. $db->where ('id', 50, ">="); And still i am @ a miss about where is single piece of AutoIt code is and everyone else here. So you should report this to https://github.com/ThingEngineer/PHP-MySQLi-Database-Class/issues and let them know if you think something in code is wrong. TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now