[PHP-DB] MySql Client API still old version

2004-09-14 Thread squirrel
After installing MySQL 4.1.4-gamma, phpinfo() shows MySql client API v3.23.49 and it needs to be updated to 4.1. But I can't seem to get it updated. Please help. I recompiled with: ./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.31 make clean make make test make i

[PHP-DB] odbc query with single quote in string

2003-02-04 Thread Squirrel User
I'm having problem querying a table with a field value containing an appostropy, please help. Using ODBC to connect MSAcess database. $mQuery = "CustomerID='$mCust'"; $mCur2 = odbc_do( $mCnx, "select Login from Emails where $mQuery" ); When it hits "O'Donald, James", I get error in odbc_e

RE: [PHP-DB] odbc query with single quote in string

2003-02-05 Thread Squirrel User
The 1st one didn't work, but the 2nd one did work. Fantastic! Thanks alot, you saved me from frustrations. Quoting "John W. Holmes" <[EMAIL PROTECTED]>: > > I'm having problem querying a table with a field value containing an > > appostropy, please help. Using ODBC to connect MSAcess database

[PHP-DB] $_FILES missing path

2003-02-05 Thread Squirrel User
print_r($_FILES) doesn't show full path of the filename I selected. I'm not trying to upload but just need to be able to open the file for viewing. Help. - This mail sent through ISOT. To find out more about ISOT, visit http://isot.com -- P

Re: [PHP-DB] $_FILES missing path

2003-02-06 Thread Squirrel User
I searched for PHP script for selecting a file, but couldn't find small simple ones. Well, I could write a script using opendir() and link a url to each. Geez, but I was hoping that someone has already done that... Quoting Squirrel User <[EMAIL PROTECTED]>: > ENCTYPE="

[PHP-DB] Passing ARRAY through URL

2003-02-07 Thread Squirrel User
Help. I've tried to pass large array through URL but it keep telling me page can not be displayed: - This mail sent through ISOT. To find out more about ISOT, visit http://isot.com -- PHP Database Mailing List (http://www.php.net/) To uns

Re: [PHP-DB] Help with ADDUSER from linux

2003-02-18 Thread Squirrel User
adduser script is written in perl. You can easily disect it. Quoting Bruno Pereira <[EMAIL PROTECTED]>: > How can i create a new user, with linux, apache and php? > Like this, in a form i ask for the username and password, than somehow use > the 'adduser' . > Can someone help me? > > > Cumpr

[PHP-DB] Receiving ARRAY from Forms

2003-02-20 Thread Squirrel User
I tried the following code but all I get back is "Array". I'm trying to pass a huge array. "; print_r( $eList ); $submit = ""; } else { $mList = array(); $mList[0] = "1. hello"; $mList[1] = "2. there"; $mList[2] = "3. How are you"; $fShow

[PHP-DB] ODBC Query max()

2003-03-12 Thread Squirrel User
I'm trying to extract one record that has largest sequence ID number for an employee, so I've tried below but doesn't work. Help. $mQuery = "EmployeeID = '$user'"; $mCur = odbc_exec( $mCnx, "select ID=max(ID),Date,TimeIn,TimeOut,StationIP from Clocks where $mQuery" );