Re: [PHP-DB] Problems by transfer of arrayed formfield

2006-02-12 Thread antispo
r1.php

> 
>
> 
> for($i=1; $i<=5; $i++) {
>  echo "";
> }
>
>
> ?>
>
> 
>
> 
>
r2.php



..iterate trough the submited array with foreach instead of for...


Re: [PHP-DB] Problems by transfer of arrayed formfield

2006-02-12 Thread Ruprecht Helms

Hi antispo,






Test





";

?>







Ok I clickt on the 1st and 3rd checkbox. I stored the value of $i as 
value into the checkbox-array. The result should be 0 2, but I does not 
get an result. The only I get is an empty page.


Regards,
Ruprecht

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Problems by transfer of arrayed formfield

2006-02-12 Thread antispo




Test





";

?>






Re: [PHP-DB] handling of checkboxvalues

2006-02-12 Thread Ruprecht Helms

Hi Luis,


you can do this...


form.php 




form name='my_form' method='post' action='form.php'
ENCTYPE='multipart/form-data'

[PHP-DB] Problems by transfer of arrayed formfield

2006-02-12 Thread Ruprecht Helms
Hi I have to scripts that should transfer values of a checkbox into 
another script that put them out.
You see that the value of the checkbox is stored in a array-variable. By 
putting out the value of

the arrayvariable there is no output. What can be wrong.

Enclosed the two scripts.

Regards,
Ruprecht


Test



gesamt löchen   
";
//$user_id = $aus_konto["kontoinp"];
//echo "";
}
?>






Test



";
?>



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] mysql_client_encoding in greek

2006-02-12 Thread nikos gatsis
Hello list.
 
I install mysql 4.1.7 and php 5.1.2 on win2000. I use apache 2.0.45
My problem is that the result from dbs are like ??.
Its obvious that is a character set problem.
The dbs are set as Greek, as the default-character-set. In php.ini is
set default_charset = "iso-8859-7" which is the Greek model.
But when I run mysql_client_encoding I got swedish_something!
 
How can I solve these?
Thank you in advance
 


Re: [PHP-DB] handling of checkboxvalues

2006-02-12 Thread Ruprecht Helms

Luis Morales wrote:
Well, 


you can do this...



form name='my_form' method='post' action='form.php'
ENCTYPE='multipart/form-data'
";
?>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php