RE: [PHP] Re: Arrays

2002-06-10 Thread John Holmes
$echo .= "". $name .""; Notice the . in .= Equivalent of saying $echo = $echo . "". $name .""; ---John Holmes... > -Original Message- > From: Dan [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 10, 2002 9:36 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: Arrays > > I have figured out

RE: [PHP] Re: Arrays

2002-06-10 Thread Martin Towell
use ".=" instead of "=" $echo .= "". $name .""; (remember to initialise $echo = "" somewhere first just in case is contains something from elsewhere) -Original Message- From: Dan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 11:36 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: A

Re: [PHP] Re: Arrays/OOP

2002-03-05 Thread Joshua E Minnie
Michael Kimsal wrote: > Still works - at least, I'm not getting the error you posted. Is there > something else we may be missing? What line(s) are causing a problem? > On line 21 of the corrected test file that I attached previously. Joshua E Minnie [EMAIL PROTECTED] -- PHP General Mail

Re: [PHP] Re: Arrays/OOP

2002-03-05 Thread Joshua E Minnie
Michael Kimsal wrote: > What version of PHP are you using? I took the file and it seemed to > work OK in PHP 4.0.5. > > Michael Kimsal > http://www.phphelpdesk.com > 734-480-9961 I am currently using PHP 4.1.2. Maybe it's in the file that I am using for testing, I have attached the code. Joshu

Re: [PHP] Re: Arrays/OOP

2002-03-05 Thread Michael Kimsal
Joshua E Minnie wrote: > Michael Kimsal wrote: > > Attached you will find the class definition. Thanks in advance.. > > Joshua E Minnie > CIO > [EMAIL PROTECTED] > What version of PHP are you using? I took the file and it seemed to work OK in PHP 4.0.5. Michael Kimsal http://www.phphelp

Re: [PHP] Re: Arrays/OOP

2002-03-05 Thread Joshua E Minnie
Michael Kimsal wrote: > Joshua E Minnie wrote: > > > > > while(!feof($fp)) { > > $temp = fgetcsv($fp, 1024, ":"); > > $event_list[$i] = $event_object->init($temp[0],$temp[1],$temp[2],$temp[3],$temp[4],$temp[5],$t emp[6],$temp[7],$temp[8]); > > $i++; > > } > > > Without seeing more

RE: [PHP] Re: Arrays in form

2001-10-21 Thread Brian Tanner
You don't need to use javascript unless you're lookin for "select all" functionality. I think what you are looking for might just be to have many checkboxes that can be selected at a time? You can look in the manual, but the trick is just to name your form fields with a [] at the end. So, it wo