1
0
mirror of synced 2024-12-14 15:16:04 +03:00

Fix another code block

This commit is contained in:
Benjamin Eberlei 2010-12-14 23:35:17 +01:00
parent 76743431a4
commit 65fe9b86c5

View File

@ -372,8 +372,8 @@ database.
## PUT YOUR TEST CODE BELOW
$q = $em->createQuery('select u from Entities\User u where u.name = ?1');
$q->setParameter(1, 'Garfield'); $garfield =
$q->getSingleResult();
$q->setParameter(1, 'Garfield');
$garfield = $q->getSingleResult();
echo "Hello " . $garfield->getName() . "!";