HDécritConnexion ("ConnectSQL", "MonLogin","MonMotdePasse","IPduServeur", "NomdelaBase", hAccèsNatifMySQL, hOLectureEcriture, "")
HChangeConnexion("*", "ConnectSQL")
HOuvreConnexion("ConnectSQL")
HExécuteRequêteSQL(SourceDonne,"ConnectSQL",hRequêteSansCorrection,TexteReq)
CREATE TABLE `test` (
`idtest` int(11) NOT NULL auto_increment,
`libtest` longtext NOT NULL,
PRIMARY KEY (`idtest`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
INSERT INTO `test` VALUES (1, 'Ceci est un champs longtext donc il n''est pas limité à 255 caractères');
HDécritConnexion ("ConnectSQL", "root","","localhost", "test", hAccèsNatifMySQL, hOLectureEcriture, "")
HChangeConnexion("*", "ConnectSQL")
HOuvreConnexion("ConnectSQL")
Req est une source de données
HExécuteRequêteSQL(Req,"ConnectSQL",hRequêteSansCorrection,"select * from test")
hlitpremier(Req)
info(Req.libtest)
Cette contribution était de : http://old.wdforge.org/newbb/viewtopic.php?forum=6&topic_id=1907&post_id=7914