Re: [PHP-DB] mysql_real_escape_string()

2007-11-12 Thread Chris
My actual question is this line of code: $other = mysql_real_escape_string($other); is giving me this error message: Warning: mysql_real_escape_string(): Access denied for user 'nobody'@'localhost' (using password: NO) in /path/to/file/file.php on line 148 Warning: mysql_real_escape_string()

[PHP-DB] mysql_real_escape_string()

2007-11-12 Thread Ron Piggott
Last week the server my web site hosting company uses went down (along with a bunch of other servers) My files have been moved to another server the company uses. I am in the midst of configuring my site for the new server. Before the server went down I wasn't getting error messages. I know my

[PHP-DB] Front Base on PHP

2007-11-12 Thread Martin
I've been trying to build PHP with the Front Base interface on a 64 bit system. Can this be done or am I going to have to go back to a 32 bit install? -- http://blameitonlove.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] pdo_firebird: PDOStatement->closeCursor

2007-11-12 Thread Chris
Hans-Peter Oeri wrote: Hi! I fell out of bed as I noticed that PDOStatement->closeCursor is not implemented for pdo_firebird. Again, I'm not a php guru, but patched my version with the attached diff. I highly doubt anyone on the php-db list is going to run a cvs checkout version with random

Re: [PHP-DB] compare between range

2007-11-12 Thread Chris
lameck kassana wrote: hey i have database called timetable in mysql the fields are starttimeendtime 19 21 15 16 suppose i want to insert want to insert new starttime 17 to endtime 21 from php script .How wi

[PHP-DB] pdo_firebird: PDOStatement->closeCursor

2007-11-12 Thread Hans-Peter Oeri
Hi! I fell out of bed as I noticed that PDOStatement->closeCursor is not implemented for pdo_firebird. Again, I'm not a php guru, but patched my version with the attached diff. HPO --- php5-orig/ext/pdo_firebird/firebird_statement.c 2007-11-12 21:54:13.0 +0100 +++ php5/ext/pdo_fireb

[PHP-DB] pdo_firebird: "RETURNING" patch (Bug #43246)

2007-11-12 Thread Hans-Peter Oeri
Hi! I have bug #43246 open and just posted a "patch comment" there. As I don't know how to (or cannot) upload patches in the bug system. The problem is: Queries ending in "RETURNING ..." get qualified as stored procedure calls. Contrary to the docs, the PDOStatement->execute call is returning the

[PHP-DB] compare between range

2007-11-12 Thread lameck kassana
hey i have database called timetable in mysql the fields are starttimeendtime 19 21 15 16 suppose i want to insert want to insert new starttime 17 to endtime 21 from php script .How will try to compare my ra