Re: [PHP-DB] insert (database)

2005-02-03 Thread Jochem Maas
Martin Norland wrote: Jochem Maas wrote: Yemi Obembe wrote: the objective of the script below is to first search if a subscriber is already in a list before subscribing his email (so as to prevent double subscription). the select part works finebut the insert doesnt. know why? if ($v = str

Re: [PHP-DB] insert (database)

2005-02-02 Thread Martin Norland
Jochem Maas wrote: Yemi Obembe wrote: the objective of the script below is to first search if a subscriber is already in a list before subscribing his email (so as to prevent double subscription). the select part works finebut the insert doesnt. know why? if ($v = strtolower($_POST['email'

RE: [PHP-DB] insert (database)

2005-02-02 Thread Bastien Koert
lude("index.php"); exit; } bastien From: Yemi Obembe <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: [PHP-DB] insert (database) Date: Wed, 2 Feb 2005 01:23:16 -0800 (PST) the objective of the script below is to first search if a subscriber is already in a list before subscribi

Re: [PHP-DB] insert (database)

2005-02-02 Thread Jochem Maas
Yemi Obembe wrote: the objective of the script below is to first search if a subscriber is already in a list before subscribing his email (so as to prevent double subscription). the select part works finebut the insert doesnt. know why? if ($v = strtolower($_POST['email'])) { what happens whe

[PHP-DB] insert (database)

2005-02-02 Thread Yemi Obembe
the objective of the script below is to first search if a subscriber is already in a list before subscribing his email (so as to prevent double subscription). the select part works finebut the insert doesnt. know why? if ($v = strtolower($_POST['email'])) { $db = mysql_connect(mysql, "usser