HeniutX Posted October 10, 2011 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
Spiff59 Posted October 10, 2011 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...
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