Fix another mess in Mini Tutorial.
This commit is contained in:
parent
c8e7ff51c4
commit
2e00e9d715
@ -364,16 +364,14 @@ database.
|
||||
5) Replace the contents of index.php with the following:
|
||||
|
||||
|
||||
.. raw:: html
|
||||
.. code-block:: php
|
||||
|
||||
<?php
|
||||
//... bootstrap stuff
|
||||
|
||||
## PUT YOUR TEST CODE BELOW
|
||||
|
||||
$q = $em->
|
||||
|
||||
createQuery('select u from Entities u where u.name = ?1');
|
||||
$q = $em->createQuery('select u from Entities u where u.name = ?1');
|
||||
$q->setParameter(1, 'Garfield'); $garfield =
|
||||
$q->getSingleResult();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user