Re: [PHP-DB] Re: printing errors

2005-08-03 Thread Shahmat Dahlan
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

Re: [PHP-DB] Re: printing errors

2005-08-03 Thread MIGUEL ANTONIO GUIRAO AGUILAR
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

[PHP-DB] Re: printing errors

2005-08-03 Thread hope
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

Re: [PHP-DB] Collation?

2005-08-03 Thread sub
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

Re: [PHP-DB] Duplicate record

2005-08-03 Thread annA
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

RE: [PHP-DB] Collation?

2005-08-03 Thread Bastien Koert
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

[PHP-DB] PHP PostgreSQL UTF-8 issue

2005-08-03 Thread Martin Edlman
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

[PHP-DB] pdo does not thrown errors on simple usage faults

2005-08-03 Thread Meno Abels
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