[PHP] Format_number and input_object_tag

2007-09-19 Thread Augusto Morais
ormat a number in the object_input_tag . How i do it ? array ( 'size' => 23, 'control_name' => 'estoque_entrada[preco_unitario]', )); echo $value ? $value : ' ' ?> the correct way is change the getPrecoUnitario function in actions.cla

[PHP] This is a bug?

2007-08-19 Thread Augusto Morais
file) return "include FILE" the $client object stay NULL but when the same method only return "FILE" : include $globalactions->include_file("foo"); the $client object isnt empty. What is happening??!?!? I dont have any idea... Thanks Augusto Morais -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] variables

2007-08-19 Thread Augusto Morais
Hi, I want create a variable based in another variable. Example: $foo (a simple variable); $myvar_foo Does it possible? Thanks Augusto Morais -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] is this a bug?

2007-08-19 Thread Augusto Morais
I dont know what is happening... Can somebody clarify the situation for me? here is the situation: i have 3 files: class.php foo.php bar.php // - class.php class globalactions { function include_file($module) { if ($module) { return ("modules