RE: [PHP-DB] checking for results return from mysql

2001-08-05 Thread Cody
= mysql_num_rows($result); if($num_rows 0) { *** code to execute if any rows were returned *** } else { *** code to execute if zero rows were returned *** } Hope this helps! Cody -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP-DB] please, please can we stop this kind of thing ..... !

2001-08-20 Thread Cody
with a newbie's request. just my 2c George, an English newbie in Scotland I definetly agree with you, George! Cody -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators

Re: [PHP-DB] More on trying to get started with Oracle

2001-01-19 Thread Cody Caughlan
these variables in your apache httpd.conf like this: SetEnv TNS_ADMIN ??? SetEnv ORACLE_HOME ??? SetEnv ORACLE_SID ??? That is all I set in my config and it works great. Then you use the user/password on the php page, and it should work.. good luck /cody caughlan John Coonrod wrote: OK, I've now figured

Re: [PHP-DB] insert - hours of time - help

2001-02-10 Thread Cody Caughlan
')"; It always a good idea to catch errors, at least while developing...if you dont want to see the errors, maybe email them to yourself.. /cody Marc Bragg wrote: Help, I have a data input form which collects information from users, and then transmits to a page for user to view. How

[PHP-DB] Clock struggles

2001-07-12 Thread Taylor \Cody\ Fletcher
Im running PHP off of Win2k. The clock on the server is set correctly, but somehow PHP timestamps are adding 7 hours to that. Is there a time zone property that needs to be changed?

Re: [PHP-DB] Converting MS Access to MySQL

2001-07-19 Thread Taylor \Cody\ Fletcher
yeah, cut and paste, jk, im curious too - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 19, 2001 2:15 PM Subject: [PHP-DB] Converting MS Access to MySQL Can anyone suggest a good utility for converting database from MS Access to MySQL? Thanks.