HeniutX Posted October 10, 2011 Share Posted October 10, 2011 (edited) I use this UDF to mysql:.After use:Global $tabl_sny[5], $tabl_sny_add[5] $tabl_sny[0] = 'Data' $tabl_sny[1] = 'Temat' $tabl_sny[2] = 'Tresc' $tabl_sny[3] = 'Autor' $tabl_sny[4] = 'Publiczne' $tabl_sny_add[0] = GUICtrlRead($Data) $tabl_sny_add[1] = GUICtrlRead($Temat) $tabl_sny_add[2] = GUICtrlRead($Sen) $tabl_sny_add[3] = $nick $tabl_sny_add[4] = GUICtrlRead($Publiczny) _AddRecord($mysql, 'sny', $tabl_sny, $tabl_users_add)Shows the error "The requested action with this object has failed.:$oconnectionobj.execute($ query) ".Everything else in the script works. Only this thing is bad. What is it? Edited October 10, 2011 by HeniutX Link to comment Share on other sites More sharing options...
Spiff59 Posted October 10, 2011 Share Posted October 10, 2011 Stick a MsgBox(0,"",$query) statement into that ugly _AddRecord() function right before the execute statement and see what it displays... Link to comment Share on other sites More sharing options...
HeniutX Posted October 11, 2011 Author Share Posted October 11, 2011 Now works Thanks 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