Re: [PHP] eval on a form

2001-12-09 Thread Diego Pérez
Hi I'm trying to pre-fill a form ( the data is passed via sessions or from another script). i have some check boxes on the form that i would like checked if the variable is present. any ideas Hi Paul: I think that you can use JavaScript or VBScript to check the variable and

[PHP] Problem with round

2001-12-03 Thread Diego Pérez
Hi to all: I can't understand, but i have a simple problem with round. I use the function round($value,2) to round a number with 2 decimals. But when i put the result in the screen, if $value don't have more or equal than 2 decimal numbers, the result only have one o none

[PHP] Uploading files

2001-05-20 Thread Diego Pérez Rández
Hi to all: I don`t konw very well php. I do examples everyday and solve some problems. But in other i need help. Today i want to upload a file. I have the form that you can find in the php manual. form enctype=multipart/form-data action=_URL_ method=POST input type=hidden

Re: [PHP] comparison operators

2001-05-20 Thread Diego Pérez Rández
Hi: For compare strings you can use strcmp. $st1 = hi; $st2 = bye; if (strcmp($st1, $st2)) { echo are different; } else { echo are equal; } The strcmp return 0 when the strings are equal. If the strings are diferent, return the pos of the char where begin the diference. I

[PHP] Php with Frames

2001-04-01 Thread Diego Pérez Rández
Hi to all: I have a page with two frames. In the top frame I have a form where I can select some options. When I press the send button a php program generate a html page that I want to show in the Botton frame. I don't know how I can load the new page generate in the botton frame. I

[PHP] Put data in a odbc connect

2001-01-13 Thread Diego Pérez Rández
Hi to all: I want to put data in a database that i access by a odbc connect. I can obtain data of the odbc connect, but i can't put data in it. How i can do it?. Thanks. Best Regards, Diego -- PHP General Mailing List