[PHP] Sessions in frames

2003-08-19 Thread Aris Santillan
hi

how can i use session variables in a page with  multiple framesets?
where in all frame will get the session variables being passed

thanks


[PHP] sending email

2003-05-29 Thread Aris Santillan
hi

i want to send html format type of emails
using mail( ); function?

is there a how to where can i start learning
that type of encoding


thanks


[PHP] session

2003-06-02 Thread Aris Santillan
hi 

this code
cant print the value




[PHP] dealing with arrays

2003-08-27 Thread Aris Santillan
hi


I Have
Entry One




Entry Two




Entry Three




Entry Four




Entry Five




.

i want to process entries only with checked checkbox

how can i do this in php?



[PHP] dealing with arrays

2003-08-27 Thread Aris Santillan


> hi
> 
> 
> I Have
> Entry One
> 
> 
> 
> 
> Entry Two
> 
> 
> 
> 
> Entry Three
> 
> 
> 
> 
> Entry Four
> 
> 
> 
> 
> Entry Five
> 
> 
> 
> 
> .
> 
> i want to process entries only with checked checkbox
> 
> how can i do this in php?
> 


FW: [PHP] dealing with arrays

2003-08-28 Thread Aris Santillan






hi

this is the piece of code


for($s=0;$s<$num;$s++)
  {
$result = mssql_fetch_array($query);

$result[2] = number_format($result[2], 2);


"";
echo  " ";
echo  "";
echo  "";
echo  "";
echo  "";
echo  "";
echo  "";
echo  "";
echo  "";
echo  "";
echo  "";

echo  "";
echo"";

}



if u can e this is a dynamic forms with some hidden fields

all i want is to submit entries with check.

something like the web mail system where in you check item w/c
you want to save / delete / add to junk










-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 2:09 PM
To: Php (E-mail)
Subject: Re: [PHP] dealing with arrays


* Thus wrote Ford, Mike   [LSS] ([EMAIL PROTECTED]):
> On 27 August 2003 04:22, Aris Santillan wrote:
> 
> > I Have
> > Entry One
> > 
> > 
> > 
> 
> The way to combat this is to use explicit subscripts in your form field names, like 
> so:
> 
>  Entry One
>  
>  
>  

I would also add some structure to avoid all the different
variables and makes looping much smoother on the processing script.





Then:

foreach ($_REQUEST['elements'] as $id => $element) {
  
  if ($element['checked']) {
// its checked
  } else {
// not checked.. duh..
  }
}


Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

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

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



[PHP] multiple db query

2003-09-02 Thread Aris Santillan
is it possible to query on 2 databases
but with same tablename and merge its output?


[PHP] Dynamic Form checking

2003-09-08 Thread Aris Santillan
hi

this is the dynamic forms



for($s=0;$s<$num;$s++)
  {
$result = mssql_fetch_array($query);

$result[2] = number_format($result[2], 2);



echo"";
echo  " ";
echo  "";
echo  "";
echo  "";
echo  "";
echo  "";
echo  "";
echo  "";
echo  "";
echo  "";
echo  "";

echo  "";
echo"";


  }




this the code that will get items that are checked


foreach($check as $checkitem)
 {



echo $quantity[$checkitem] .  " " . $discount[$checkitem] . " " . $part_no[$checkitem] 
. " " . $price[$checkitem] . " " . $salesperson_code[$checkitem] . " " . 
$customer_code[$checkitem] . " " . $ship_to_code[$checkitem] . " " . " " . 
$status[$checkitem] . " " .  $date[$checkitem] . "";


 }
 
---


the problems / situation


how can i check or validate

it should be. if someone filled up the $quantity[] field, she / he must check the 
$check[] field or if a use check the $check[] field
he must put something on the $quantity[] field. and 

otherwise empty $quantity[] field and empty $check[] field is allowed,  






thanks in advance












[PHP] null values

2003-09-08 Thread Aris Santillan
hi

how to count null values in an array?

tnx


[PHP] any javascript gurus?

2004-08-08 Thread Aris Santillan
i need help on this






Compute quantity





  
 
   
  Qty 
  1
  Qty 
  2
  Final 
  Qty for (Qty1 & Qty2)

 
  ITEM 
ONE

  

  
  

 
  ITEM 
TWO
  
  
  
  

 

  


  







[PHP] MSSQL stored proc

2004-04-13 Thread Aris Santillan
hi everyone

can you give me a sample code of using MSSQL stored procedures?
and its explanation..

thanks


[PHP] checkbox

2004-06-30 Thread Aris Santillan
how can process  only items with checked check-box?

--- html ---





Untitled Document




   


  
   


  
   
 

  
   


  
  


  






--- html ---