Vamos a abrir un HILO en español???

norbertocero

New Member
Soy novato en fabrik y me parece bastante util. La documentación en español es muy escasa y en otros idiomas un tanto confusa. Nos juntamos acá los usuarios de habla hispana????

Instalé fabrik, cree mi primer formulario y mi primera base de datos con el. Y ahora? Puedo desplegar mis datos en una página de mi web???
 
Hoy encontré la solución a mi consulta.
En el menu del sitio cree una nueva entrada, la cual direcciona a una LISTA de FABRIK y es asi como pude presentar en pantalla la información que contiene mi base de datos.
Solo me falta aprender a imprimir esos datos y esta etapa estará cumplida.
Seguiremos aprendiendo otras utilidades del componente.
 
Please post (additionally) in English.
Sorry
Today I found the solution to my query.
In the menu of the site I created a new entry, which addresses a FABRIK LIST and that is how I was able to present on screen the information contained in my database.
I just need to learn to print that data and this stage will be completed.
We will continue to learn other utilities of the component.
 
Tengo otro problema: (in english at the bottom)
En el componenete "calc" de fabrik defino los campos que voy a utilizar en mi operación en el cuadro correspondiente.
Y luego escribo el siguiente código en el cuadro superior correspondiente:
return

$contar = 0
$asig31 = '{obras___asig31}';
$asig32 = '{obras___asig32}';
$asig41 = '{obras___asig41}';
$asig42 = '{obras___asig42}';

if ($asig31<>0){
$contar=$contar+1;
}
else{
$contar=$contar;
}

if ($asig32<>0){
$contar=$contar+1;
}
else{
$contar=$contar;
}

if ($asig41<>0){
$contar=$contar+1;
}
else{
$contar=$contar;
}

if ($asig42<>0){
$contar=$contar+1;
}
else{
$contar=$contar;
}

({obras___por31}+
{obras___por32}+
{obras___por41}+
{obras___por42})/$contar;

Pero me arroja el siguiente error:

0 syntax error, unexpected '$asig31' (T_VARIABLE), expecting ';'

Alguien me puede orientar qué estoy escribiendo mal en mi código? Muchas Gracias !!

I have a new problem:
In the "calc" component of fabrik I define the fields that I will use in my operation in the corresponding table.
And then I write the following code in the corresponding upper box:

$contar = 0
$asig31 = '{obras___asig31}';
$asig32 = '{obras___asig32}';
$asig41 = '{obras___asig41}';
$asig42 = '{obras___asig42}';

if ($asig31<>0){
$contar=$contar+1;
}
else{
$contar=$contar;
}

if ($asig32<>0){
$contar=$contar+1;
}
else{
$contar=$contar;
}

if ($asig41<>0){
$contar=$contar+1;
}
else{
$contar=$contar;
}

if ($asig42<>0){
$contar=$contar+1;
}
else{
$contar=$contar;
}

({obras___por31}+
{obras___por32}+
{obras___por41}+
{obras___por42})/$contar;

But I throw the following error:

0 syntax error, unexpected '$asig31' (T_VARIABLE), expecting ';'

Can someone guide me what am I writing wrong in my code? Thank you so much !!
 
There's a
;
missing at the end of the 1st line of your code
$contar = 0;

Gesendet von meinem SM-G930F mit Tapatalk
 
Thanks a lot friend !!! Something so obvious ... a thousand apologies for this awkward query.
I am starting with fabrik and php.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top