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
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
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
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
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:
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