rowCount() > 0) {
// get first and last name, to confirm…
$first=””;
$last=””;
foreach($result as $item) {
$first = $item->name;
$last = $item->surname;
}
print ‘
The Licence ‘ . $number . ‘ :
‘;
print ‘
‘;
print $first . ” ” . $last;
print ‘
print $first . ” ” . $last;
print ‘
‘;
} else {
drupal_set_message(‘There was a problem retrieving the licence information. Please try again in a moment.’);
}
?>
Is this your Licence number and name?