like here is a quick example
the mysql connect string
MySQL_Init
dbhost$ = "SERVER=dev-2k-server;"
dbuser$ = "USER=edgecom;"
dbpass$ = "PASSWORD=hello;"
dbname$ = "DATABASE=gamedata;"
dbdriver$ = "DRIVER=MySQL ODBC 5.1 Driver;"
dboption$ = "OPTION=3;"
test=MySQL_SetConnection(dbdriver$+dbhost$+dbname$+dbuser$+dbpass$+dboption$)
wait 250
print str$(test)
wait key
end
its a little more human readable
and if anyone is intersted I will put up a link to my TTD T.ed to darkbasic pro code generator software these are full version 2 and 3 I am going to give back to the community
TTD v 3
http://www.edgegraphics.biz/ttd.exe
TTD V 2.5 with installer
http://www.edgegraphics.biz/ttd_install.exe
the only thing I ask is you not sell it or include eather version with your software or game you can however use the code that TTD outputs in your game/software royaltiy free
and I hope everyone enjoys it