[PHP-DB] re: PHP4

2003-06-21 Thread Jon Miller
Does anyone know if PHP 4 on the Red Hat distro is only available on RHL8 or better? Thanks Jon L. Miller, MCNE, CNS Director/Sr Systems Consultant MMT Networks Pty Ltd http://www.mmtnetworks.com.au I don't know the key to success, but the key to failure is trying to please everybody. -Bill

[PHP-DB] Header, Directory, and SESSIONs

2003-06-21 Thread nabil
Hi all, wish u all a good weekend.. Guys I have a question as the following: 1- In my wwwroot I have two folders : folder1 and folder2 (actually I have 14 folders) 2- In the same two folders there are same PHP files do the same job, as db jobs with different databases.. 3- I log in the users by

[PHP-DB] Re: test

2003-06-21 Thread fazla
:-)) David Robley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... login test Login/Password mismatch Connection failed -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] connect to db with php?

2003-06-21 Thread David
Warning - beginner :-) I'm new at Linux, php and mysql, so please go slowly. I have a test database with a couple of tables, etc., that I can connect to and run simple queries against, etc., all from the command line. I do most things as root, probably because I didn't set it up right and

[PHP-DB] How can I get the number of entries retrieved by a SELECT - FROM Thanks!

2003-06-21 Thread ed anderson
Dell 4500, mem 1g, disk 45g, mhz 2g, Mysql-3.23.54a-linux-i686, PHP-4.30, httpd_2.0.44 Thanks to Paul DuBois, Roger Davis, Helen Sallee, Ronan Chilvers, and Edward Dudlik for thier response to my question. I've included the a (one of many?) snippit of code that I've decided to use as a pattern

[PHP-DB] Re: test

2003-06-21 Thread JeRRy
Are we 'testing' something here? Seems to be working, but I guess I really don't know because I have NFI what is being tested here. Nor do I expect anyone to care to explain! ;) To: [EMAIL PROTECTED] From: fazla [EMAIL PROTECTED] Date: Sat, 21 Jun 2003 16:30:09 +0200 Subject: Re: test

Re: [PHP-DB] connect to db with php?

2003-06-21 Thread Doug Thompson
1. The default user table sets up root with no password. Leave out the password and it will probably connect OK. You really need to fix the user table, but as long as the system isn't accessible from outside, you can get by. 2. You don't need to use host, in this case 127.0.0.1, when