> -Original Message-
> From: Kranthi Krishna [mailto:kranthi...@gmail.com]
> Sent: Monday, October 11, 2010 5:40 PM
> To: Gary
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Unknown Table i field list
>
> echo $query;
> before
> $result = mysqli_quer
echo $query;
before
$result = mysqli_query($dbc, $query);
might be of help to understand what is going wrong
copy that query and execute in phpMyAdmin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
riod instead of a comma to
separate the values in the query.
It shouldn't produce the error you're seeing, but sometimes you never
know!
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: "sueandant"
Date: Mon, Oct 11, 2010 22:26
Subject: [PHP]
x27;,'$ip')"
>> or die('error in query');
> tholland
> - Original Message -
> From: "Gary"
> To:
> Sent: Monday, October 11, 2010 8:09 PM
> Subject: [PHP] Unknown Table i field list
>
>
>>I am getting an error of "
r know!
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: "sueandant"
Date: Mon, Oct 11, 2010 22:26
Subject: [PHP] Unknown Table i field list
To: "Gary"
Cc: "PHP"
Have you tried :
$query = "INSERT INTO formcom(fname, lname, email,
Have you tried :
$query = "INSERT INTO formcom(fname, lname, email, comment, ip) VALUES
('$fname','$lname','$email'.'$comment','$ip')"
or die('error in query');
tholland
- Original Message -
From: "Gary"
"Ashley Sheridan" wrote in message
news:1286826713.3415.3.ca...@localhost.localdomain...
> On Mon, 2010-10-11 at 15:46 -0400, Gary wrote:
>
>> I used, and have always used phpmyadmin to create the tables. As I say,
>> it
>> is not the first time doing this, but I believe it is the first time
On Mon, 2010-10-11 at 15:46 -0400, Gary wrote:
> I used, and have always used phpmyadmin to create the tables. As I say, it
> is not the first time doing this, but I believe it is the first time getting
> the error.
>
> To Alexander, yes I had, ,in fact I simply C/p the script from anohter
>
I used, and have always used phpmyadmin to create the tables. As I say, it
is not the first time doing this, but I believe it is the first time getting
the error.
To Alexander, yes I had, ,in fact I simply C/p the script from anohter
scritp into the same db...
Thank you
Gary
"Ashley Sheri
On Mon, Oct 11, 2010 at 03:09:35PM -0400, Gary wrote:
> I have used this same script a number of time, this is the first time I am
> getting this error
did you also check the db name is correct?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
On Mon, 2010-10-11 at 15:09 -0400, Gary wrote:
> I am getting an error of "unkown talbe "formcom" in field list".
>
> I dont understand this. I have a talbe called formcom in the database, in
> fact I created this talbe to replace the first one named comments just in
> case the table name comm
I am getting an error of "unkown talbe "formcom" in field list".
I dont understand this. I have a talbe called formcom in the database, in
fact I created this talbe to replace the first one named comments just in
case the table name comments was not allowed.
I have used this same script a numb
12 matches
Mail list logo