[PHP-DB] Re: Sybase Mailing List?

2001-07-21 Thread Bruno Franx
go www.sybase.com under newsgroup "Marcel Walter" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED]. com... Sorry to ask this here, but I donĀ“t know where to ask else ... Does someone know a good mailinglist about specific sybase questions? I have some questions about BCP ...

[PHP-DB] Apache cant load libiodbc.so.2

2001-07-21 Thread Neil Aggarwal
Hello: I am trying to set-up odbc on my RedHat 7.1 Server. I want the PHP as a DSO for apache. Here is what I did: Logged in as root cd /usr/local Downloaded the file ftp://www.openlinksw.com/open40/l3ko.taz mkdir odbc cd odbc tar zxvf ../l3ko.taz cd /usr/local Downloaded the php 4.0.

[PHP-DB] Now, I have new problem!!

2001-07-21 Thread Tony
My server has a cgi-local bin, where all of my cgi scripts have to be stored in there. When I input the script into my regular html pages, it doesn't work. This is the script that I am using and saved as inventory.php, Unable to locate the inventory " . "database at this time." ); exit();}

[PHP-DB] Thank you all for your help!!!

2001-07-21 Thread Tony
I tried both Julie's and David's script, and David's script worked. But, I do appreciate both of you and Chris for great help. Tony -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the lis

Re: [PHP-DB] Wrong solution!!!!

2001-07-21 Thread Julie Meloni
T> $itemx = "15109"; T> $num = mysql_query("SELECT quantity FROM inventory WHERE item = T> '$itemx'",$link); T> if ($num < 1) { T> echo "Out of Stock $result"; T> } else { T> echo "In Stock $result"; T> } T> I want my inventory quantity with known item number to compare with T> ($num<

RE: [PHP-DB] Wrong solution!!!!

2001-07-21 Thread David Balatero
I assume you want to do this instead..try it: Out of Stock $result"; } else { echo "In Stock $result"; } ?> -Original Message- From: Tony [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 21, 2001 2:32 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Wrong solution Hello, I really

[PHP-DB] Wrong solution!!!!

2001-07-21 Thread Tony
Hello, I really do appreciate your help. But, I found out that the solution scrip that you gave me was wrong script for my purpose. I guess I didn't describe my problem right. I didn't mean to get the total number of rows to compare. Let's say I have a table name inventory and contains two colum

[PHP-DB] Retrieving a PDF file from a MySQL Database

2001-07-21 Thread James Willard
Hello, I'm having trouble with getting a PHP script to pull a file (a PDF file) out of a MySQL database. I don't know if the problem is the insertion or the retrieval, but I'll try to paste as much code as I can to hopefully reveal to someone more skilled in PHP than I what the problem is. The fo

[PHP-DB] DB Connection Time

2001-07-21 Thread E. Peter K. Chan
Hi I am doing some script timing of a DB connection PHP/Linux to MSSQL thru FreeTDS based on this script timing article: http://www.phpbuilder.net/columns/akent2926.php3 I am getting a time of 200-250 milliseconds compared to sub-50 ms using ASP/W2K/MSSQL. Any idea on what is generally acce

[PHP-DB] DB Connection Time

2001-07-21 Thread E. Peter K. Chan
Hi I am doing some script timing of a DB connection PHP/Linux to MSSQL thru FreeTDS based on this script timing article: http://www.phpbuilder.net/columns/akent2926.php3 I am getting a time of 200-250 milliseconds compared to sub-50 ms using ASP/W2K/MSSQL. Any idea on what is generally acce

[PHP-DB] Postgres Library problems

2001-07-21 Thread Grant Johnson
Sorry I am not replying to the thread. I deleted the message, not thinking. If you install PostgreSQL from source, and take the defaults, it puts its files in /usr/local/pgsql/... Each of theses subdirectories matches one in /usr/local/... What I do is create symlinks win /usr/local so I don

[PHP-DB] Are you Interested to a PHP C.A.S.E.? (PHP codegenerator for DB Use)

2001-07-21 Thread Data Project di A.Barbera
Hi people of PHP ! First of all Excuse me if i use this "channel" to ask you an little market opinion but it could be very interesting ! I am a little PHP/Linux programmer but I've lot of years of experience in developing C.A.S.E. product for dBase and Sql in DOS/Windows Platform. With this, I am