[PHP-DB] driver initialization failed in ...

2001-11-04 Thread Greg Robinson
Anyone out there sucessfully using Berkeley DB / sleepycat database with PHP4? I'm getting the above error using dba_open Thanks Greg -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP-DB] Re: Getting Server Date

2001-11-04 Thread Kevin Keller
Found my answer.. Thanks.. "Kevin Keller" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am trying to get the server date using PHP. So far, every function I have > check return the local system date. > > Does anyone know how to get the server date? > > T

Re: [PHP-DB] Function Prolem parse error

2001-11-04 Thread Darren
Dl and everybody else, Thank you all for your help and patience. Dl Neil wrote: > Darren, > > We're not really set up to do line-by-line debugging. You may need to spend a bit (more) time learning PHP to > avoid these sorts of frustrations. O.K. Meanwhile .. Dl Neil wrote: > Darre

[PHP-DB] Getting Server Date

2001-11-04 Thread Kevin Keller
I am trying to get the server date using PHP. So far, every function I have check return the local system date. Does anyone know how to get the server date? Thanks. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP-DB] Function Prolem parse error

2001-11-04 Thread DL Neil
Darren, We're not really set up to do line-by-line debugging. You may need to spend a bit (more) time learning PHP to avoid these sorts of frustrations. When the code is executed it gives a parse error on the line containing value=\"$value">". It would have been helpful to have pointed us at t

[PHP-DB] ughfuih

2001-11-04 Thread robby
GJUKDFKGA' - This message was sent using Endymion MailMan. http://www.endymion.com/products/mailman/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP-DB] Function Prolem parse error

2001-11-04 Thread Darren
Jason, Thanks alot! now the next line gets an error. The original code was as follows $output = << EOQ; return $output; Then I changed it to $output = print(""); return $output; I did this so the code would be compatible with php3 instead of php4 (what the code was

RE: [PHP-DB] TREE in a database

2001-11-04 Thread olinux
True, but isn't this script a bit database intensive? You shouldn't have to hit the database so many times, or doesn't this query as much as I think? But thank you for the article, It is perfect for my problem too. olinux --- Robert Vukovic <[EMAIL PROTECTED]> wrote: > Thanks, that is exactly

Re: [PHP-DB] Function Prolem parse error

2001-11-04 Thread Jason Wong
On Monday 05 November 2001 04:45, Darren wrote: [snip] > // string hidden_field ([string name [, string value]]) > > // This function returns an HTML hidden field. A value may be > supplied. > > function hidden_field ($name="", $value="") > { > $output = print(" value=\"$value">"); > >

RE: [PHP-DB] TREE in a database

2001-11-04 Thread Robert Vukovic
Thanks, that is exactly what I needed and it doesn't look so complicated. > -Original Message- > From: John Lim [mailto:[EMAIL PROTECTED]] > Sent: 31. oktobar 2001. 16:44 > To: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] TREE in a database > > > Actually relational databases are set-base

[PHP-DB] Re: Nothing returned

2001-11-04 Thread Martin
Martin wrote: > Why am I not getting anything returned from this function? > I have code doing a if user exists and b if user doesn't exist. I'm not > getting any numRows result apparently. The query is OK and returns 1 user > for $name=admin. I'm not getting any errors from isError. > > Martin

Re: [PHP-DB] Nothing returned

2001-11-04 Thread Jesse Goerz
On Saturday 03 November 2001 17:29, Martin wrote: > Why am I not getting anything returned from this function? > I have code doing a if user exists and b if user doesn't > exist. I'm not getting any numRows result apparently. The > query is OK and returns 1 user for $name=admin. I'm not > getting

Re: [PHP-DB] Function Prolem parse error

2001-11-04 Thread Darren
Dl, Thanks for the input an the link to the manuels, there are very helpful. I have looked at them but I don't understand what default variables has to do with the listed code. To give you a better idea (if you need it you may not) I'll put a little more of code in for context purposes. //

Re: [PHP-DB] php + interbase

2001-11-04 Thread Jacek Krywult
> > FoxServ, php ver. 4.0.6 ( I tried also 4.0.4 ), win 98. interbase local from Delphi 5. > I think that local interbase installed with delphi is pre version 6.0, and > the dll you're using is compiled against version > Meir Kriheli thanks a lot, that was the reason. Jacek Krywult -- PHP D

[PHP-DB] How can set a option in mysql

2001-11-04 Thread Mad Nas
Hi All I have MySQL 3.23 in W2K , I must set oprion lower_case_table_names to 0. How set it? Thanks for answer Mad Nas -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administr

Re: [PHP-DB] Function Prolem parse error

2001-11-04 Thread DL Neil
> Paul if your there I have another issue similar to the past. It is > probably a PHP3 to PHP4 problem. > > Here tis > > function hidden_field ($name="", $value="") > > * > I have no clue what could be wrong. Darren, Check out http://uk.php.net/manual/en/functions.php and from there lo

Re: [PHP-DB] "EOQ" what does it mean??

2001-11-04 Thread DL Neil
Darren, Small confusion in the typing of the original (accurate) submission. It is all one word "heredoc" and can be found in the manual (using Paul's recommended location) check out http://uk.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc. Think of the << To:

RE: [PHP-DB] Nothing returned

2001-11-04 Thread Peter Lovatt
Assuming you can feed 'admin' into the function and it works, but feeding 'fred' doesn't, it looks like there is a problem with the data. Starting with the obvious that you have probably already covered 1. Is the data in the database at all - could there have been a problem inserting it? 2.