• [^] # Re: quel est le problème ?

    Posté par . En réponse au message lire et interpreter un fichier ligne par ligne. Évalué à 1.

    En fait, ça me sort une string concaténée de toutes les requetes, et $requete exécute cettte concaténation.
    je souhaite exécuter une requete directement à chaque ligne et non pas une fois le fichier parcouru. (à moins qu'il y ait une meilleure solution...)

    en clair, je voufrais faire ça:
    $select arg1, arg2 from arg3 where arg4="bob" and date="2006-10-31";

    $select arg1, arg2 from arg3 where arg4="bob" and date="2006-10-31";

    $select arg1, arg2 from arg3 where arg4="bob" and date="2006-10-31";

    et non pas
    $select arg1, arg2 from arg3 where arg4="bob" and date="2006-10-31";select arg1, arg2 from arg3 where arg4="bob" and date="2006-10-31";select arg1, arg2 from arg3 where arg4="bob" and date="2006-10-31";select arg1, arg2 from arg3 where arg4="bob" and date="2006-10-31";

    Merci!