[PHP-DB] mysql or php calculations required!

2003-10-31 Thread JeRRy
Hi, I have got a written PHP page that feeds most information off a mysql database. But I need some calculations completed either via the php page itself or mysql functions. But let me explain what I want. Maybe I could use a "javascript" on this but prefer all the code hidden away from the eye

[PHP-DB] PG and error handling

2003-10-31 Thread Jonathan Scott
I have been looking for a resource on how to do proper error handling with (BPostgreSQL connections and queries. In one specific case, I have a (Breferential integrity constraint on a table. When I try to delete from that (Btable, it fails, as it should, when there is something referring to the

[PHP-DB] File Creation Date

2003-10-31 Thread Zachary Krakov
Hello All, Is there a way to get a file¹s creation date using any of the file handling functions in PHP? All I can find is the last modification date of a file. Thanks for your help, -Zak Krakov

[PHP-DB] SQLite

2003-10-31 Thread JR
I am trying to get the SQLite package to work with PHP and I am failing miserably. I have run: pear download http://pecl.php.net/get/SQLite-1.0.tgz, no problem here. Then I run: pear install SQLite-1.0.tgz and get a make error of: /tmp/tmpACnhIu/SQLite-1.0/sqlite.c:29:17: php.h: No such file or d

Re: [PHP-DB] OT] PHP-DEV tarball

2003-10-31 Thread Steven Mac Intyre
Hiya, This might help. ftp://ftp.kobe-u.ac.jp/pub/Linux/metalab.unc.edu/distributions/sourcemage/mirror/php-dev-5.0.tar.bz2 Cheers Steven -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] OT] PHP-DEV tarball

2003-10-31 Thread Steven Mac Intyre
Hiya, This might help. ftp://ftp.kobe-u.ac.jp/pub/Linux/metalab.unc.edu/distributions/sourcemage/mirror/php-dev-5.0.tar.bz2 Cheers Steven -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] OT] PHP-DEV tarball

2003-10-31 Thread Ruprecht Helms
Hi, does someone know where I can find a sourcetarball of the dev-package for php (4.33 and/or 4.2.3)? I need it for an php-extension. Regards, Ruprecht -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] ORACLE FUNCTION

2003-10-31 Thread MaNu
Function : FUNCTION PREZZO_TOT ( pUtente in v_utenti.utente%type, pTrasp in char ) return NUMBER; Php $query = "SELECT poe.carrello.prezzo_tot('AATCXNK2EN3RDKB','1') PIPPO FROM dual"; $parsed = ociparse($conn,$query); ociexecute($parsed); $numRows = ocifetchst