Re: [PHP] Boolean type forced on string assignment inside if statement

2013-01-03 Thread Volmar Machado
7; != $print_it) ? 'Only && email sent.' : NULL; } else { $print_it = ('email sent.' == $print_it) ? 'Only & email sent.' : NULL; } echo $print_it; } ?> 2013/1/3 Andreas Perstinger : > Volmar Machado wrot

Re: [PHP] Boolean type forced on string assignment inside if statement

2013-01-03 Thread Volmar Machado
s). > > http://php.net/manual/en/language.operators.bitwise.php > > > -- Forwarded message -- > From: Volmar Machado > Date: 3 January 2013 12:42 > Subject: Re: [PHP] Boolean type forced on string assignment inside if > statement > To: Marc Guay > >

Fwd: Re: [PHP] Rest

2012-10-27 Thread Volmar Machado
-- Mensagem encaminhada -- De: "Volmar Machado" Data: 27/10/2012 17:07 Assunto: Re: [PHP] Rest Para: "Matijn Woudt" But if what you want to know, is how to works inside, google for PHPMaster.org REST PHP. They have a two part article about it, and is really g

Re: [PHP] Re: Programmers and developers needed

2012-09-18 Thread Volmar Machado
I guess that social structures didn't changed so much the last 10k years. I also guess if we want peace at all. The people just need to fight for something. Homogeneous world don't would bring heterogeneous ideas. Anyway I hope that you could do this, and become a great great genius, that will eve

Re: [PHP] Display Array Tree as Menu - Can't figure out how to find depth with something over 2 levels

2012-08-16 Thread Volmar Machado
I have develop a solution in a one function as in the example, which permit you to have n-level menu array, if you want you can change the returns by a echo to, if you want the ouput in html. http://pastebin.com/QJUsxPBw -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] Display Array Tree as Menu - Can't figure out how to find depth with something over 2 levels

2012-08-16 Thread Volmar Machado
http://www.php.net/manual/es/function.array-walk-recursive.php 2012/8/16 Tristan : > I can't for the life of me figure out how to find the depth of the array > that I'm looping through to output tabs or indentations to the display for > each depth. The entries also have section postition if you ca

Re: [PHP] Reading class variable value always returns NULL

2012-08-13 Thread Volmar Machado
It's only a hint, but You start checking if the Object Ids are the same or not. 2012/8/13 Robert Cummings : > On 12-08-12 08:32 AM, Reto Kaiser wrote: >> >> Hi, >> >> So I have this strange situation where I assign a classvariable a >> value, but when I read the value it is NULL. >> >> The class h

Re: [PHP] Quem esta por dentro de PSR?

2012-07-10 Thread Volmar Machado
Sorry, I sent to wrong list :/ Em 10 de julho de 2012 11:05, Daniel Brown escreveu: > 2012/7/10 Volmar Machado : >> Nao sei se sabem, mas tem uma galera implemantendo PSR-X, que sao >> padroes para desenvolvimento em PHP. Gostaria de saber o que pensam >> disso :) > >