🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.lang.c
Article #42

explication sur le C et mysql!!

#42
From: Tanche
Date: Fri, 22 Sep 2000 00:00
15 lines
1547 bytes
bon je reussi � faire des cgi en c sur mon serveur(linux/redhat)!!
mais maintenant j'aimerais relier le tout � la bbd(mysql)

Mais j'ai pas trouve d'exemple precis et mon anglais et plutot pas
terrible!!
alors j'ai pas tres bien compris ce que j'ai pu voir sur le site de
mysql:
http://www.mysql.com/documentation/mysql/bychapter/manual_Clients.html#C

j'ai vu les fonctions pour faire la connection : mysql_init()
,mysql_real_connect(...) mais j'aimerais bien un exemple!!!
une simple connection avec un select ca serais deja beuacoup!!
Si vous savez o� je peux trouver ca ou si vous savez comment faire,
merci de me repondre!!
PLEASE HELP A LITTLE FISH!!!
Technical Details
Message-ID: <39CB2332.8BD3BB78@ifrance.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: ffbfc,35140ae4e42d4a09,start
X-Google-Attributes: gidffbfc,public
X-Google-Thread: f9822,35140ae4e42d4a09,start
X-Google-Attributes: gidf9822,public
X-Google-Thread: fad70,35140ae4e42d4a09,start
X-Google-Attributes: gidfad70,public
From: Tanche <latanche@ifrance.com>
Subject: explication sur le C et mysql!!
Date: 2000/09/22
Message-ID: <39CB2332.8BD3BB78@ifrance.com>
X-Deja-AN: 672787806
Content-Transfer-Encoding: 8bit
X-Accept-Language: fr,en
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: abuse@wanadoo.fr
X-Trace: wanadoo.fr 969614145 9900 193.252.47.174 (22 Sep 2000 09:15:45 GMT)
Organization: Wanadoo, l'internet avec France Telecom
Mime-Version: 1.0
NNTP-Posting-Date: 22 Sep 2000 09:15:45 GMT
Newsgroups: fr.comp.lang.c,fr.comp.applications.sgbd,nzn.fr.base-de-donnees