Jump to content
Sign in to follow this  
HeniutX

MySql.au3 not working :/

Recommended Posts

HeniutX

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 by HeniutX

Share this post


Link to post
Share on other sites
Spiff59

Stick a MsgBox(0,"",$query) statement into that ugly _AddRecord() function right before the execute statement and see what it displays...

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×