Re: [PHP] bug in code - can't find it!

2003-08-14 Thread AciD
just a little point; u can replace by which is better imho. AciD On Wed, 6 Aug 2003 14:57:23 -0700, Jennifer Goodie <[EMAIL PROTECTED]> wrote: Ok, here is my query and the bit of code I can't figure out: $query = "SELECT * from apt_user_t a, apt_company_t b "; $query .= "WHERE a.user_c

RE: [PHP] bug in code - can't find it!

2003-08-14 Thread Jennifer Goodie
> Ok, here is my query and the bit of code I can't figure out: > > $query = "SELECT * from apt_user_t a, apt_company_t b "; > $query .= "WHERE a.user_cd = b.user_cd "; > $query .= "ORDER BY a.username"; > > $search_results = mysql_query($query) or die("Select > Failed!"); > while

Re: [PHP] bug in code - can't find it!

2003-08-14 Thread John W. Holmes
AciD wrote: just a little point; u can replace by which is better imho. and you're entitled to it, but it's not better. Shorter isn't always better. Your code will break if enable_short_open_tags is disabled in php.ini or an .htaccess file. Sure, it's on by default, but some people turn it of

Re: [PHP] bug in code - can't find it!

2003-08-14 Thread Chris Sherwood
} well for starters checkboxes dont have a size and maxlength you may want to try that and see if it works... - Original Message - From: "Amanda McComb" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 06, 2003 2:47 PM Subject: [PHP] bug in code - can't find it!

Re: [PHP] bug in code - can't find it!

2003-08-08 Thread Chris Sherwood
silly me upon further looking > > - Original Message - From: "Amanda McComb" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 06, 2003 2:47 PM Subject: [PHP] bug in code - can't find it! > Ok, after all of the discussion on posting, I'm afraid to post. > Unfortunatel

Re: [PHP] bug in code - can't find it!

2003-08-08 Thread Marek Kilimajer
Is it realy so? I remember someone noting on this list it also work if short tags are off. I have never tested it and I'm not going to restart our server now, but I will try it at home. John W. Holmes wrote: AciD wrote: just a little point; u can replace by which is better imho. and you're

Re: [PHP] bug in code - can't find it!

2003-08-07 Thread Amanda McComb
Oh, yeah. Well, I just copied and pasted that from another form. Taken out, it still doesn't work. Even the echo, which is on no way related to the checkbox. Thanks! On Wed, 6 Aug 2003, Chris Sherwood wrote: > VALUE="CHECKED"> $search_result2[a.retired_flag]?> > } > > well for starters ch