both mysql_error () and mysql_errno () are suppose to "assist" you in
determining the cause of problems you may encounter with your
mysql-related coding.
it's not a question of knowing what php can tell you what's wrong, it's
what your mysql db is telling you. you should refer to the mysql error
Try mysql_errorno() and mysql_error()
--
MIGUEL GUIRAO AGUILERA
Logistica R8 - Telcel
Tel: (999) 960.7994
Cel: 9931-6
- Mensaje original -
De: [EMAIL PROTECTED] (hope)
Fecha: Mi�rcoles, Agosto 3, 2005 10:17 pm
Asunto: [PHP-DB] Re: printing errors
> i use mys
i use mysql_error()
bt stil even sometimes i donnot understand the real error.
is ther any other function tht wil let me know if error
is regarding my syntax, parameters, database connection or something else
like fetching records etc.
David Robley wrote:
(umeed wrote:
most of the time wen
I've read a bit more about this and just want to make sure that I'm correct
in my thinking.
Since the value of the field is latin1_swedish_ci it's expecting something
in the swedish language. My DB will be storying information in a strings of
mostly english, but I don't see why it shouldn't work
Hello,
How about this for a different method:
The php that displays the form writes an extra hidden field to the
form, containing a random string value. It also writes that random
string along with a timestamp to a database table, called say,
form_control. The form action sends to a separate php
language character type for the column. read the manual for more details
bastien
From: <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
To:
Subject: [PHP-DB] Collation?
Date: Tue, 2 Aug 2005 22:39:38 -0700
There's a new thing in my SQL db, but I don't know what it is. Using
phpMyAdmin to vie
Hello,
I have problem with Unicode (UTF-8) data read from PostgreSQL 8.0,
processed in PHP 4.3.5 and inserted back to DB.
Situation:
database with unicode (utf-8) encoding
table customer
name varchar(30),
surname varchar(50)
table invoice_tmp
name varchar(70),
surname varchar(70)
Ther
Hi there,
I have just begun an implementation of the PDO and have noticed an
unusual behaviour.
The following code is supplied as an example to illustrate this. The
main issue here is
that no error is thrown. There is no notice of failure at all for the
second fetch/execute which returns just an e