Re: [PHP-DB] PDO prepared statements and value list for MySQL IN

2008-07-09 Thread Thodoris
At 04:16 PM 7/8/2008, Philip Thompson wrote: On Jul 8, 2008, at 11:55 AM, TK wrote: I'd like to use a PDO prepared statement to perform a MySQL query that uses the IN function. I.e.: $stmt = $pdo-prepare(' select * from mytable where myfield IN (:contents) );

[PHP-DB] CURL and ASP

2008-07-09 Thread ioannes
Has anyone here experience of CURLing .asp pages which use session cookies as I am having difficulty doing so on two different sites, both asp. Thanks, John -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] CURL and ASP

2008-07-09 Thread Daniel Brown
On Wed, Jul 9, 2008 at 9:35 AM, ioannes [EMAIL PROTECTED] wrote: Has anyone here experience of CURLing .asp pages which use session cookies as I am having difficulty doing so on two different sites, both asp. Forwarded to PHP-General, John. If you're not already subscribed there, please

Re: [PHP-DB] PDO prepared statements and value list for MySQL IN

2008-07-09 Thread TK
At 03:21 AM 7/9/2008, Thodoris wrote: At 04:16 PM 7/8/2008, Philip Thompson wrote: On Jul 8, 2008, at 11:55 AM, TK wrote: I'd like to use a PDO prepared statement to perform a MySQL query that uses the IN function. I.e.: $stmt = $pdo-prepare(' select * from mytable where myfield IN

[PHP-DB] Apache crashes every time I call mysqli_fetch_assoc()

2008-07-09 Thread Bonger O
Hi, I have set up an environment on my Vista laptop comprising of Apache 2.2, MySQL Server 5.1 and Php 5.2.5. I'm using a simple php program that I found in a PHP/SQL book. The PHP program queries a MySQL table and traverses the results array of the query and should display on screen. However,

Re: [PHP-DB] Apache crashes every time I call mysqli_fetch_assoc()

2008-07-09 Thread Bastien Koert
On Wed, Jul 9, 2008 at 1:32 PM, Bonger O [EMAIL PROTECTED] wrote: Hi, I have set up an environment on my Vista laptop comprising of Apache 2.2, MySQL Server 5.1 and Php 5.2.5. I'm using a simple php program that I found in a PHP/SQL book. The PHP program queries a MySQL table and traverses

Re: [PHP-DB] Apache crashes every time I call mysqli_fetch_assoc()

2008-07-09 Thread Bonger O
Thanks for the reply Bastien. How do you mean compiled into PHP? I have *extension=php_mysqli.dll* enabled in my *php.ini* file. Is that what you mean? I'm pretty sure it's intalled ok as I don't have any problems with other mysqli functions. On Wed, Jul 9, 2008 at 8:02 PM, Bastien Koert [EMAIL

Re: [PHP-DB] Apache crashes every time I call mysqli_fetch_assoc()

2008-07-09 Thread Chris
Bonger O wrote: Hi, I have set up an environment on my Vista laptop comprising of Apache 2.2, MySQL Server 5.1 and Php 5.2.5. I'm using a simple php program that I found in a PHP/SQL book. The PHP program queries a MySQL table and traverses the results array of the query and should