Re: [PHP] probably stupid, but...

2004-11-13 Thread Curt Zirzow
* Thus wrote -{ Rene Brehmer }-: At 21:32 12-11-2004, Chris W. Parker wrote: also you need to wrap your array values in { } when an array is referenced within a string. i.e. // normal $value = $_GET['something']; // with { } $value = Here is some data: {$_GET['something']}; Is that

Re: [PHP] probably stupid, but...

2004-11-13 Thread -{ Rene Brehmer }-
At 16:28 13-11-2004, Curt Zirzow wrote: * Thus wrote -{ Rene Brehmer }-: At 21:32 12-11-2004, Chris W. Parker wrote: also you need to wrap your array values in { } when an array is referenced within a string. i.e. // normal $value = $_GET['something']; // with { } $value = Here is some

RE: [PHP] probably stupid, but...

2004-11-12 Thread Jay Blanchard
[snip] $i=1; while ($i20) { if ($_POST[book_title_$i]' != ) { INSERT INTO `curriculum` VALUES ('','$_POST[book_title_$i]','$_POST[book_level_$i]','$_POST[level_grades _$i]','$_POST[book_section_$i]','$_POST[chapter_$i]','$_POST[chapter_tit

Re: [PHP] probably stupid, but...

2004-11-12 Thread Danny Brow
On Fri, 2004-11-12 at 15:08 -0500, Robert Sossomon wrote: I have a form that sends 20 rows of data into a script, instead of having to write 20 separate add functions, I wrote this piece of code... $i=1; while ($i20) { if ($_POST[book_title_$i]' != ) // One problem maybe the quote you

Re: [PHP] probably stupid, but...

2004-11-12 Thread Robert Sossomon
Jay Blanchard is quoted as saying on 11/12/2004 3:28 PM: [snip] Did that and it fixed only that piece (saw it right after I sent the email out to the group). I am thinking that it is still somewhat of the iterations that are causing problems. I am waiting on the server guy to get back with me

RE: [PHP] probably stupid, but...

2004-11-12 Thread Chris W. Parker
Robert Sossomon mailto:[EMAIL PROTECTED] on Friday, November 12, 2004 12:09 PM said: I have a form that sends 20 rows of data into a script, instead of having to write 20 separate add functions, I wrote this piece of code... you've actually got quite a few mistakes. if

RE: [PHP] probably stupid, but...

2004-11-12 Thread Jay Blanchard
[snip] Did that and it fixed only that piece (saw it right after I sent the email out to the group). I am thinking that it is still somewhat of the iterations that are causing problems. I am waiting on the server guy to get back with me as to what the new error message looks like. [/snip]

RE: [PHP] probably stupid, but...

2004-11-12 Thread Danny Brow
On Fri, 2004-11-12 at 14:35 -0600, Jay Blanchard wrote: [snip] Did that and it fixed only that piece (saw it right after I sent the email out to the group). I am thinking that it is still somewhat of the iterations that are causing problems. I am waiting on the server guy to get back

RE: [PHP] probably stupid, but...

2004-11-12 Thread -{ Rene Brehmer }-
At 21:32 12-11-2004, Chris W. Parker wrote: also you need to wrap your array values in { } when an array is referenced within a string. i.e. // normal $value = $_GET['something']; // with { } $value = Here is some data: {$_GET['something']}; Is that actually in the manual ??? If it is, where ?

RE: [PHP] probably stupid, but...

2004-11-12 Thread Chris W. Parker
-{ Rene Brehmer }- mailto:[EMAIL PROTECTED] on Friday, November 12, 2004 3:53 PM said: At 21:32 12-11-2004, Chris W. Parker wrote: also you need to wrap your array values in { } when an array is referenced within a string. i.e. // normal $value = $_GET['something']; // with { }