Re: [PHP-DB] Splitting a string by a ,

2003-12-05 Thread Ray
have you checked the function explode? http://www.php.net/manual/en/function.explode.php explode (PHP 3, PHP 4 ) explode -- Split a string by string Description array explode ( string separator, string string [, int limit]) On Friday 05 December 2003 09:32, you wrote: I don't wish to hyjack

[PHP-DB] Code for adding,edit and deleting records

2001-03-26 Thread Jim Ray
I am looking for some code that will allow a user to add, edit and delete records in a MySql table. Does someone know of site where I can see how to do this in a nice format? Thank you. Jim -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP-DB] PHP an MySQL

2001-04-01 Thread Jim Ray
Can someone recommend a book that shows how to use PHP and MySQL. I need to see how to pass parms from a form to a PHP so I can Update, Add and Delete records. Thanks for the help. Jim Ray -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP-DB] Auto load PHP

2001-04-02 Thread Jim Ray
Is there a way, once updating a table to load another PHP? After, I have the user click on the save button, the code calls a update routine. After the UPDATE is done, I want the code to call another progam. Thank you. Jim -- PHP Database Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP-DB] How to make logout from database server (ORACLE for example) when user closes its session

2002-02-19 Thread Hunter, Ray
Do not use persistent connections to the database. Use non-persistent connections and make sure to close them. Persistent connections will linger around for a while then close. Also, check the documentation on oracle concerning persistent connections http://otn.oracle.com . Ray Hunter

RE: [PHP-DB] Problem with file() function

2002-02-19 Thread Hunter, Ray
() as well... Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Hayan Al Mamoun [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 3:58 AM To: PHPList (E-mail) Subject: [PHP-DB] Problem with file() function Dear sirs, Please help with the follows: When I'm

RE: [PHP-DB] A good tutorial

2002-02-19 Thread Hunter, Ray
BLOBS and CLOBS. BLOBS are binary large objects. You need to be a member of Oracle Tech Network...Here is the url for the LOBs section: http://technet.oracle.com/doc/server.815/a68004/toc.htm Hope this helps... Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From

RE: [PHP-DB] How do I add multiple var to a if clause ?

2002-02-21 Thread Hunter, Ray
in the if clause needs to be evaluated. Just some technical crap for the insane... Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: matt stewart [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 3:47 AM To: php List Subject: RE: [PHP-DB] How do I add multiple var

RE: [PHP-DB] mysql connect, while and close big problem

2002-02-21 Thread Hunter, Ray
What type of connections are you making persistent or non-persistent? Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Killer Angel Clark [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 10:17 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] mysql

RE: [PHP-DB] Secure Encrypt/Decrypt Functions

2002-02-21 Thread Hunter, Ray
You can use the mcrypt functions of php. You can look in the php manual here: http://www.php.net/manual/en/ref.mcrypt.php . You will also need to compile php with mcrypt. I use mcrypt with no problems. Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From

RE: [PHP-DB] PHP and big production database apps ?

2002-02-22 Thread Hunter, Ray
for the front-end portal and text information (documents). I run intense data calculations and statistics with postgres and have php create charts and graphs. I have also started writing gui apps with php-gtk for direct database access. This has worked out great. Ray Hunter Firmware Engineer ENTERASYS

RE: [PHP-DB] optimization (another tack)

2002-03-04 Thread Hunter, Ray
If you are using php and a database you can add more memory to the script and optimize the database. I only use postgres databases for all my large data so I can let you know how to optimize postgres... Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Aron

RE: [PHP-DB] optimization (another tack)

2002-03-04 Thread Hunter, Ray
Title: Message Here is general information on postgres: http://www.ca.postgresql.org/docs/aw_pgsql_book/index.html Here is an optimization file included: This was not written by me!!! Let me know if you have questions...s Ray Hunter Firmware Engineer ENTERASYS NETWORKS

RE: [PHP-DB] textarea and mysql query

2002-03-18 Thread Hunter, Ray
='save'br\n; ? /form If not then let me know... Thank you, Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: jas [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 17, 2002 11:54 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] textarea and mysql query I need some help

RE: [PHP-DB] textarea and mysql query

2002-03-18 Thread Hunter, Ray
What is the result of $record['wel_area']. If this is a multidimensional array then you will need to access it differently... Example: echo $record[0][0].\n; Try this is your text area and see if that comes out... Thank you, Ray Hunter Firmware Engineer ENTERASYS NETWORKS

RE: [PHP-DB] Relational database

2002-03-21 Thread Hunter, Ray
Try this: SELECT ccsd.Description, ccsd.Impact, ccsd.Isolation FROM ccsd, log WHERE ccsd.logccsd=log.logccsd; You cannot specify a database is = to a row... Thank you, Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Ron [mailto:[EMAIL PROTECTED]] Sent

[PHP-DB] Re: Saving DB Resuts to a file

2002-04-15 Thread Ray Hunter
Chris, You will want to use the file i/o functions to write to a file and save the db info to a file. http://www.php.net/manual/en/function.fwrite.php Ray BigDog Hunter Chris Payne [EMAIL PROTECTED] wrote in message 000c01c1e258$f33f5ce0$f7fea8c0@chris">news:000c01c1e258$f33f5ce0$

[PHP-DB] Re: please help!

2002-04-23 Thread Ray Hunter
Also try using the exec command with an array and that will provide the result for you so you can verify if the command was successful using php... Check here: http://www.php.net/manual/en/function.exec.php BigDog Josh Evans [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

RE: [PHP-DB] replication questions

2002-05-20 Thread Ray Hunter
to replicate development server. Replications is mostly used for production data. Also just a heads up that you can do bi-directional replication...you just need to do some work around on the mysql and server ends. It is fairly complex but I have done it with both mysql and postgresql. Ray

RE: [PHP-DB] MySQL won't return results to screen.

2002-06-07 Thread Ray Hunter
Edit your php.ini and log all errors to a file and then review the filesalso you can turn on all errors and warnings to be displayed---this has helped me many times... Thank you, RAY HUNTER -Original Message- From: Blaine Dinsmore [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07

Re: [PHP-DB] Graphing data

2002-07-10 Thread Ray Hunter
I have used jpGraphs with tons of success. These are functions or classes that you can call in your php code... http://www.aditus.nu/jpgraph/ -- RAY HUNTER - Original Message - From: [EMAIL PROTECTED] To: PHP_DB [EMAIL PROTECTED] Sent: Wednesday, July 10, 2002 9:41 AM Subject: [PHP

Re: [PHP-DB] string

2002-07-21 Thread Ray Hunter
list( name, rest ) = explode( '@', $email ); name = everything before the @ rest = everything after @ .: B i g D o g :. - Original Message - From: bo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 21, 2002 4:42 PM Subject: [PHP-DB] string Hi, for any email end with

[PHP-DB] Re: [PHP] setup connection to sybase

2003-03-13 Thread Ray Hunter
With the installation of sybase on the windows 2000 server (client installation) you will get an interfaces file that contains all the information for connecting to a sybase database. Make sure that you have the sybase client installed on the windows 2000 box that is running PHP. -- ray On Wed

[PHP-DB] apache mod_php memory leak, need help.

2003-06-24 Thread Ray Aspeitia
I'm posting this here as well in hopes that someone can help me out. Thanks, Ray A. Just another note, it seems that for every page access, there is exactly 680k of memory that accumulates. Any php developer know of any odbc function that takes up 680k of overhead that might not be getting

[PHP-DB] New to PHP mySQL

2002-08-25 Thread Ray Healy \(Data Net Services\)
am not sure whether I should be in list list of the PHP list so sorry if I have got it wrong. Any advice or places to visit would be greatly appreciated. Thanks for all your help Ray Details of what i have done already: mysql use matrix Database changed mysqlCREATE TABLE bookings

[PHP-DB] Enhancement of script

2002-09-06 Thread Ray Healy \(Data Net Services\)
see the script running at www.matrix-hosting.co.uk/prestige/welcome.php for the general view and www.matrix-hosting.co.uk/prestige/admin_welcome.php for the admin side. Any help would be appreciated Ray P.S. if any one also knows how to get it to display a 2 or 3 months at a time or even a year

[PHP-DB] Enhancement of script

2002-09-07 Thread Ray Healy \(Data Net Services\)
Dear All (Here is the message again as I noticed that the attachments where not sent) I have recently downloaded a calendar from CST (which is no longersupported ) and I have made a few changes to the script.The calendar will be used to see when something is booked and you can

[PHP-DB] Enhancement of script

2002-09-07 Thread Ray Healy \(Data Net Services\)
have a look and tell me where I am going wrong. (scripts at bottom of page) ng at www.matrix-hosting.co.uk/prestige/welcome.php for the general view and www.matrix-hosting.co.uk/prestige/admin_welcome.php for the admin side. Any help would be appreciated Ray P.S. if any one also knows how

[PHP-DB] Calendar error - can anyone help

2002-11-10 Thread Ray Healy \(Data Net Services\)
this finish and then post it to the forum in case anyone else would like it Thanks for your time Ray