Jump to content

Error al leer datos


Ana22

Recommended Posts

Hola estoy intentando leer unos datos que viene de la base de datos, en mi archivo pongo lo siguiente:

<strong style="font-size: 10pt; font-weight: normal;">Correo Electrónico:</strong>
{$email|escape:'htmlall':'UTF-8'}<br />

<strong style="font-size: 10pt; font-weight: normal;">Correo Electrónico:</strong>
 {$phone|escape:'htmlall':'UTF-8'}<br />

 

Pero al momento de visualizar el documente me sale lo siguiente:

 

Correo Electrónico:
Notice: Undefined index: email in /var/www/html/var/cache/prod/smarty/compile/80/d7/a1/80d7a1f1d4e429c47ff5de42e665518bc6f9da26_0.file.head
er.tpl.php on line 82
Notice: Trying to get property 'value' of non-object in
/var/www/html/var/cache/prod/smarty/compile/80/d7/a1/80d7a1f1d4e429c47ff5de42e665518bc6f9da26_0.file.head
er.tpl.php on line 82


Número de celular:
Notice: Undefined index: phone in
/var/www/html/var/cache/prod/smarty/compile/80/d7/a1/80d7a1f1d4e429c47ff5de42e665518bc6f9da26_0.file.head
er.tpl.php on line 85
Notice: Trying to get property 'value' of non-object in
/var/www/html/var/cache/prod/smarty/compile/80/d7/a1/80d7a1f1d4e429c47ff5de42e665518bc6f9da26_0.file.head
er.tpl.php on line 85

 

Solo con esos campos tengo problemas ya que con nombre y dirección si los muestra bien.

<strong style="font-size: 10pt; font-weight: normal;">Nombre:</strong>
 {$first_name|escape:'htmlall':'UTF-8'} {$last_name|escape:'htmlall':'UTF-8'}<br />
<strong style="font-size: 10pt; font-weight: normal;">Dirección:</strong>
{$direccion|escape:'htmlall':'UTF-8'}<br />

Ayudaaa :(

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...