RE: [PHP] ADODB Insert Question (Syntax)

2007-08-07 Thread Uber Wannabe
-Original Message- From: Graham Anderson [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 07, 2007 3:34 PM To: php-general Subject: [PHP] ADODB Insert Question (Syntax) Hi What is the proper way to get the ADODB class to automatically add quotes to the below sql ? I'm guessing that the

RE: [PHP] output the schema

2007-08-03 Thread Uber Wannabe
assuming name=database value=MySQL NOT SPECIFIED You would probably want to use the combination of the MySQL query SHOW COLUMNS FROM tablename and the PHP function mysql_field_type(). An example would be: ? //Establish connection and select database here $sql = SHOW COLUMNS

RE: [PHP] Downloading PHP 521

2007-08-03 Thread Uber Wannabe
http://www.php.net/releases/ -- N/A -Original Message- From: WyleySam [mailto:[EMAIL PROTECTED] Sent: Friday, August 03, 2007 10:47 AM To: php-general@lists.php.net Subject: [PHP] Downloading PHP 521 Exactly where does one go to download PHP 521, not 523, not 522 but 521??? Every

RE: [PHP] best technique to get the ID of the last inserted value

2007-07-20 Thread Uber Wannabe
However, wouldn't obtaining the id in that manner still possibly lead to duplication? The DB would take care of the locking on the inserts, but the inserts would be populated from a non-locking select, right? Which means that, with two similar transactions getting ready to occur, you could end