Skip to content

Sending more than 1 patroninformation query #6

@Stan-librarian

Description

@Stan-librarian

Hi,

I'm sending 4 times the patroninformation query, as recommended :

$query = $mysip->msgPatronInformation('none');
echo '<b>Requête :</b> ' . $query . '<br />' ;
$result = $mysip->get_message($query) ;
echo '<b>Résultat :</b> ' . $result . '<hr />' ;
$query = $mysip->msgPatronInformation('charged');
echo '<b>Requête :</b> ' . $query . '<br />' ;
$result = $mysip->get_message($query) ;
echo '<b>Résultat :</b> ' . $result . '<hr />' ;
$query = $mysip->msgPatronInformation('hold');
echo '<b>Requête :</b> ' . $query . '<br />' ;
$result = $mysip->get_message($query) ;
echo '<b>Résultat :</b> ' . $result . '<hr />' ;
$query = $mysip->msgPatronInformation('overdue');
echo '<b>Requête :</b> ' . $query . '<br />' ;
$result = $mysip->get_message($query) ;
echo '<b>Résultat :</b> ' . $result . '<hr />' ;

but I get a result only for the first one :

Requête : 6300120171123 123051 AOJL|AATEST03|BP1|BQ5|AY0AZF25E
Résultat : 64 00120171123 123051000100000002000000000001AOJL |AATEST03|AETEST, Mineur - Your subscription expires on 01/07/2018|BZ5|CA30|CB20|BLY|CQN|BHEUR|BV0.0|CC0.0|BDAdresse Ligne 1 Adresse Ligne 3, Adresse Ligne 2, Adresse Ligne 3|BE|BF03 12 34 56 78|DG|DH|DI|DJ|DK|DL|PD11/15/2005|PCFRAN| 
Requête : 6300120171123 123052 Y AOJL|AATEST03|BP1|BQ5|AY1AZF223
Résultat : 
Requête : 6300120171123 123052Y AOJL|AATEST03|BP1|BQ5|AY2AZF222
Résultat : 
Requête : 6300120171123 123052 Y AOJL|AATEST03|BP1|BQ5|AY3AZF221
Résultat :

I don't see why...

I'm a librarian, so maybe I'm missing something obvious. If that's so, I'm sorry…

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions