Skip to content

Instantly share code, notes, and snippets.

View trq's full-sized avatar

Tony R Quilkey trq

  • thorpesystems
  • Sydney, Australia
View GitHub Profile
<?php
/**
* SplClassLoader implementation that implements the technical interoperability
* standards for PHP 5.3 namespaces and class names.
*
* http://groups.google.com/group/php-standards/web/final-proposal
*
* // Example which loads classes for the Doctrine Common package in the
* // Doctrine\Common namespace.
@trq
trq / Dvd.php
Created May 21, 2014 02:24 — forked from kfuchs/Dvd.php
/**
* Dvd
*
* @ORM\Table(name="dvd")
* @ORM\Entity
*/
class Dvd
{
/**
* @var integer
{{ Form::text('username', 'null', array('placeholder' => 'hold') }}
<?php
require_once '../include/conectar.php';
if (isset($_POST['borrar_id']) && is_array($_POST['borrar_id']))
{
foreach ($_POST['borrar_id'] as $id)
{
$result = $db->query("SELECT `direccion` FROM `imagenes` WHERE `id`='{$id}'");
while ($obj = $result->fetchObject())
Im getting this error:
Notice: Undefined index: userId in /var/www/html/symfony2/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php line 688
class UsersType extends AbstractType
{
/**
* @param FormBuilderInterface $builder
* @param array $options