Jump to content
FranckMo

Variable Dans Script Importation Enregistrement

Recommended Posts

Bonjour,

 

Comment puis-je définir une variable dans un script avec importation d’enregistrements

 

Dans l'exemple ci-dessous la variable $client est le nom recherché.

Cette syntaxe fonctionne mais aucun enregistrement n'est trouvé.

 

SELECT entfac.livnom, entfac.livpays, entfac.livrue1, entfac.facnom, entfac.cod_typ_fac, entfac.num_ar
FROM entfac
WHERE entfac.num_ar = '$client'
 
Merci
Franck

Share this post


Link to post
Share on other sites

Bonjour,

 

Quelque chose comme ça ?

ExecuterSQL (
"SELECT entfac.livnom, entfac.livpays, entfac.livrue1, entfac.facnom, entfac.cod_typ_fac, entfac.num_ar
FROM entfac
WHERE entfac.num_ar = ?" ;
$client ;
"|" ; "¶"
)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...