dont laugh its my fisrt attempt, i need sum cod taht froma publicd mcd will add data into my sqp db, and display a msg in channel saying wat they added was added.

### mysql settings ###

set mysql(host) "localhost"
# hostname of the mysql server
set mysql(dbase) "zeromovies"
# name of the zeromovies
set mysql(user) "rgakbo"
# name of the mysql user
set mysql(pass) "162345"
# password for the mysql user
set mysql(fbsql) "fbsql.so"
# path to the fbsql.so tcl mysql api

### other settings ###

set invite(cmd) "!invite"
# message command to use
set invite(chan) "#testing123"
# channel to invite to

### end settings ###

# lets load fbsql tcl mysql api if it is not already loaded
if {![string match *sql* [info commands]]} { catch {load $mysql(fbsql)} }

# lets initialize our sqlsessions (see next proc for how sessions are managed)
if {(![info exists sqlsession]) || ($sqlsession > 10)} { set sqlsession 0 }

# now, lets make a nice proc to take advantage of the fbsql sessions
proc pubAdd {nick uhost hand chan text} {
global mysql sqlsession
   $sqlcmd "insert into title}
bind pub - !add pubAdd
putlog "#$nick# addedÂ”
{$sqlcmd disconnect}


plz help
