Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Peter Ford
Peter Ford wrote: Mark Weaver wrote: Ryan S wrote: Hey everyone, A bit of a puzzle here, dont know if this is a JS problem or PHP or FF or just me. (My money is on the last one :p ) Here's what I am trying to do: In a form I have a listbox with the values 1-5, and under the

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Ryan S
Hey Pete, ** First, you should reply to the list - that way more people could see the links you posted and help out. ** Oops, my mistake, I thought I did that. Will add a snip at the bottom of this email. ** It looks like there may be a problem with the form tags - when I look at this code I

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Peter Ford
Ryan S wrote: Hey Pete, ** First, you should reply to the list - that way more people could see the links you posted and help out. ** Oops, my mistake, I thought I did that. Will add a snip at the bottom of this email. ** It looks like there may be a problem with the form tags - when I

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Jim Lucas
Ryan S wrote: Hey Pete, ** First, you should reply to the list - that way more people could see the links you posted and help out. ** Oops, my mistake, I thought I did that. Will add a snip at the bottom of this email. ** It looks like there may be a problem with the form tags - when I

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Jason Pruim
On Apr 9, 2008, at 11:09 AM, Jim Lucas wrote: Ryan S wrote: Hey Pete, ** First, you should reply to the list - that way more people could see the links you posted and help out. ** Oops, my mistake, I thought I did that. Will add a snip at the bottom of this email. ** It looks like there

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Daniel Brown
On Wed, Apr 9, 2008 at 11:18 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Apr 9, 2008, at 11:09 AM, Jim Lucas wrote: While we are on the topic of the form../form tags, just a side note. It is invalid HTML syntax to have any tag between your tableILLEGALtrILLEGALtd ok here

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Bill Guion
At 3:20 PM -0700 4/8/08, Ryan S wrote: Hey! Thanks Andrew, will look into those points that you sent me. First thing to change will be the DOCTYPE I think, as i didht type that but must have copied code into a pre-made page... Cheers! R Ryan, Four observations: 1. Don't try to solve

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Jim Lucas
Daniel Brown wrote: On Wed, Apr 9, 2008 at 11:18 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Apr 9, 2008, at 11:09 AM, Jim Lucas wrote: While we are on the topic of the form../form tags, just a side note. It is invalid HTML syntax to have any tag between your tableILLEGALtrILLEGALtd ok

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Jason Pruim
On Apr 9, 2008, at 11:29 AM, Daniel Brown wrote: On Wed, Apr 9, 2008 at 11:18 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Apr 9, 2008, at 11:09 AM, Jim Lucas wrote: While we are on the topic of the form../form tags, just a side note. It is invalid HTML syntax to have any tag between

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Andrew Ballard
On Wed, Apr 9, 2008 at 12:21 PM, Jason Pruim [EMAIL PROTECTED] wrote: Jim points out the correct XHTML layout, which shows ok here (or, as you have it, stuff here) between the td/TD tags. Case doesn't matter, but does make it look sloppy. In addition, case /should/ matter when matching

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Ryan S
Hey! Thanks to you and everyone else who replied, I have fixed the problem by remaking the tables... This is not really anything to do with PHP, of course... :) :) True, in the end it was not. But in the beginning I couldnt figure out for the love of god why my PHP script was not getting

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Ryan S
Hey Jim, Yep, That was the problem fixed that and now everything works. *** While we are on the topic of the form../form tags, just a side note. It is invalid HTML syntax to have any tag between your tableILLEGALtrILLEGALtd ok here /tdILLEGAL/trILLEGAL/table As a note: the only

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread tedd
At 12:21 PM -0400 4/9/08, Jason Pruim wrote: I always used to type my HTML is lower case, but I've been trying to get switched over to UPPERCASE to help separate code from content. No reason to do change case and every reason to continue using lowercase. Keep css and javascript

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Ryan S
Hey Bill, Thanks for the tips, makes sense and will try to follow them. Cheers! R * Ryan, Four observations: 1. Don't try to solve your problem by changing the DOCTYPE. Bad HTML is bad HTML. Changing the DOCTYPE may reduce the severity of the problem, but it won't solve it. 2.

[PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Ryan S
Hey everyone, A bit of a puzzle here, dont know if this is a JS problem or PHP or FF or just me. (My money is on the last one :p ) Here's what I am trying to do: In a form I have a listbox with the values 1-5, and under the listbox i have a TD with the id of recips (like so: TD

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Mark Weaver
Ryan S wrote: Hey everyone, A bit of a puzzle here, dont know if this is a JS problem or PHP or FF or just me. (My money is on the last one :p ) Here's what I am trying to do: In a form I have a listbox with the values 1-5, and under the listbox i have a TD with the id of recips

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Andrew Ballard
On Tue, Apr 8, 2008 at 9:30 AM, Mark Weaver [EMAIL PROTECTED] wrote: Ryan S wrote: Hey everyone, A bit of a puzzle here, dont know if this is a JS problem or PHP or FF or just me. (My money is on the last one :p ) Here's what I am trying to do: In a form I have a listbox

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Peter Ford
Mark Weaver wrote: Ryan S wrote: Hey everyone, A bit of a puzzle here, dont know if this is a JS problem or PHP or FF or just me. (My money is on the last one :p ) Here's what I am trying to do: In a form I have a listbox with the values 1-5, and under the listbox i have a TD with

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Daniel Brown
On Tue, Apr 8, 2008 at 6:17 AM, Ryan S [EMAIL PROTECTED] wrote: Hey everyone, A bit of a puzzle here, dont know if this is a JS problem or PHP or FF or just me. (My money is on the last one :p ) [snip!] Ryan, would it be possible for you to send an actual link to the page in

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Jim Lucas
Ryan S wrote: Hey everyone, A bit of a puzzle here, dont know if this is a JS problem or PHP or FF or just me. (My money is on the last one :p ) Here's what I am trying to do: In a form I have a listbox with the values 1-5, and under the listbox i have a TD with the id of recips

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Ryan S
Hi Guys, Thanks for responding, will try to answer everyone in the same order. Mark W: Thanks for replying! Since I'm relatively new to PHP I could be off on this, but I'd say yes, $_REQUEST is wrong. I would think you'd want to use $_POST to receive the incoming values from a form.

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Andrew Ballard
On Tue, Apr 8, 2008 at 3:51 PM, Ryan S [EMAIL PROTECTED] wrote: Hi Guys, [snip] Andrew: Thanks for replying! [snip] Also, FWIW, I doubt it has anything to do with your problem but you are assigning the same value for ID each time through the loop. The ID attribute is supposed to be

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Ryan S
-general@lists.php.net Sent: Tuesday, April 8, 2008 11:18:36 PM Subject: Re: [PHP] dynamic boxes problem... JS and PHP On Tue, Apr 8, 2008 at 3:51 PM, Ryan S [EMAIL PROTECTED] wrote: Hi Guys, [snip] Andrew: Thanks for replying! [snip] Also, FWIW, I doubt it has anything to do with your problem

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Daniel Brown
On Tue, Apr 8, 2008 at 6:20 PM, Ryan S [EMAIL PROTECTED] wrote: Hey! Thanks Andrew, will look into those points that you sent me. First thing to change will be the DOCTYPE I think, as i didht type that but must have copied code into a pre-made page... One thing I learned when screwing

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Ryan S
Hello Bitter, (so is that Bitter Andrew or Bitter Brown? :-) ) Thanks for the little titbit of request code, have saved it and will certainly use it. Lets see how the next version is, they promised to make the new IE stick closer to the standards. Cheers! R On Tue, Apr 8, 2008 at 6:20

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Ryan S
Hello Bitter, (so is that Bitter Andrew or Bitter Brown? :-) ) Thanks for the little titbit of request code, have saved it and will certainly use it. Lets see how the next version is, they promised to make the new IE stick closer to the standards. Cheers! R On Tue, Apr 8, 2008 at 6:20 PM,