Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to insert image into mysql table with vfp
Message
 
 
À
21/03/2010 22:32:56
Hee Lim Wang
Fantasy Software Enterprise
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01455978
Message ID:
01455979
Vues:
49
>Hi all,
>I want to insert image in mysql
>Can any one tell me how to store image into variable myPicture ?
>sqlexec(lnHandle,"INSERT INTO Images (Image) VALUES (?myPicture)")

What is the type of the Image column in the MySQL? Did you try
myPicture = filetostr('MyPictureFile.jpg') ?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform