Re: [PHP-DB] multiple foreach loop?

2002-11-20 Thread Ryan Gallagher
Quoting Aaron Wolski [EMAIL PROTECTED]: Hi All, Trying to create a refer a friend script. User enters 10 names and email address of a friend to refer to a site. The following code SORT of works in that it will send the email, etc.. but problem is it duplicates - sends the email out

Re: [PHP-DB] INSERT question...

2002-11-20 Thread Ryan Gallagher
Quoting NIPP, SCOTT V (SBCSI) [EMAIL PROTECTED]: I have an INSERT statement that I cannot quiet get working. The table that this data is being put into has 7 columns, but I only care about putting in the data from the first two columns at this time. The first column is an array

RE: [PHP-DB] multiple foreach loop?

2002-11-20 Thread Ryan Gallagher
it on accident before completion. That was the why you received two. --Ryan -Original Message- From: Ryan Gallagher [mailto:[EMAIL PROTECTED]] Sent: November 20, 2002 2:09 PM To: Aaron Wolski Subject: Re: [PHP-DB] multiple foreach loop? Quoting Aaron Wolski [EMAIL PROTECTED

Re: [PHP-DB] INSERT question...

2002-11-20 Thread Ryan Gallagher
Quoting 1LT John W. Holmes [EMAIL PROTECTED]: OK. This sounds great, but now I am getting a completely different error message. You have an error in your SQL syntax near '-sys) VALUES('sn4265-turner')' at line 1 Here is the INSERT statement: $query = INSERT INTO accounts

Re: [PHP-DB] $_get 2 variables

2002-11-19 Thread Ryan Gallagher
Quoting Gavin Amm [EMAIL PROTECTED]: Hi, I'm wanting to retrieve data from my database using 2 conditions in the WHERE clause. How do i pick up 2 different variables from the URL? i can get just 1 variable easily (eg: http://localhost/myscript.php?var1=blah) My question essentially is:

Re: [PHP-DB] how to update a text BLOB in ODBC?

2002-11-19 Thread Ryan Gallagher
Quoting Jeff Stern [EMAIL PROTECTED]: thanks for the correction, miles and martin.. just an email typo. i still have the problem though. :( On Tue, 19 Nov 2002, Miles Thompson wrote: Jeff, Check your SQL. Shouldn't $sql = insert into note_tbl (note) values ('${note}') where