[PHP] array_splice()

2002-08-20 Thread Riccardo Sepe
Hi evey1, in order to remove a whole array of values from a multidimensional array I tried the following: foreach($bkmks as $val) { if($val[8]==$cod){ array_splice($bkmks,$val,1);

[PHP] array_splice()

2002-08-21 Thread Riccardo Sepe
Hi evey1, sorry if I' ve already posted this : in order to remove a whole array of values from a multidimensional array I tried the following: foreach($bkmks as $val) { if($val[8]==$cod){

[PHP] in_array()

2002-08-22 Thread Riccardo Sepe
Hi every1 I got this script that works fine on my local windows pc but on the remote server (FreeBSD) I get this message: Warning: Wrong datatype for first argument in call to in_array in /usr/local/.. the script should bookmark an user choice storing it in the $_SESSION[bkmks] array.

[PHP] in_array

2002-08-22 Thread Riccardo Sepe
jochen schultz wrote: Hi Riccardo, if(mysql_num_rows($rty-resu)) { //result $rec = mysql_fetch_array($rty-resu); if(!isset($_SESSION[bkmks]) || When you save something for the first time, the element of $_SESSION[bkmks] is a

[PHP] PHP and JavaScript on a form validation task

2002-09-27 Thread Riccardo Sepe
Hi every1 I'm buidin' up a form that should perform a couple of checks before submit. I used javascript but as the form has got option fields also and some field changes upon the checkbox chosen the script has to know when I'm just changing the option or when I'm tryin' 2 send the form... (in

[PHP] PHP and JavaScript on a validation NIGHTMARE

2002-10-01 Thread Riccardo Sepe
Hi every1 I'm stucked with this page in which I would like to perform some check before submit and in the meantime I need to be able to change some content upon a choice at the top of the page. My first attempt was: The form has been submitted every time I change the option at the top of the

Re: [PHP] PHP and JavaScript on a validation NIGHTMARE

2002-10-01 Thread Riccardo Sepe
skitum wrote: Use globals variables instead hidden fields. Maybe it works. Peace Love skitum Cool mate I' ll let u know! bye -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php