Re: [PHP-DB] Database Object

2007-09-24 Thread Chris
ok, both CME and CMD are contract, but differ in it's content, one is tower and other is microwave. how to put the class into database ? should i made a contract table , a cme and cmd one... ? any suggestion ? I'd have two tables because they are separate data relationships. One for towers, o

[PHP-DB] Database Object

2007-09-24 Thread Suprie
dear all, straight to the point... i have this class class Contract { private $id; private $date; private $c_number; -- setter and getter -- } class ContractCME extends Contract { private $tower_height; private $shelter; -- setter and getter -- } class ContractCMD

Re: [PHP-DB] Pages not fully loading

2007-09-24 Thread Chris
ioannes wrote: Further testing shows that the script fails just before the mail() line, though after a variable number of refreshes it goes through and downloads all OK. Can anyone think why there should be this occasional interaction between the mail() command line and the php script. Check

Re: [PHP-DB] Pages not fully loading

2007-09-24 Thread ioannes
I am now pretty sure that it fails after the mail() function sends email (since I receive the email) but before it reaches the next line of the script. I might try something like 'mail(...) or die(...)' and see if it prints out the die('') bit. But I am looking to find out why it dies, someth

[PHP-DB] 2 problems with phpmyadmin since upgrade

2007-09-24 Thread Joe
I am having a problem since I upgraded my sql php and phpmyadmin. I was running ver 3.23 sql and 4.+ of php and a really old version of phpmyadmin. I am now running the following: phpmyadmin ver. 2.7.0-pl2 Mysql Ver: MySQL 5.2.3-falcon-alpha PHP Version 5.2.1 Apache/2.0.51 (Fedora Core 2) Probl

RE: [PHP-DB] Pages not fully loading

2007-09-24 Thread Instruct ICC
> Date: Fri, 21 Sep 2007 23:42:40 +0100 > From: [EMAIL PROTECTED] > I have tried putting print ("test line x") throughout the script, which > just showed me it was failing sometimes before the mail function, but > not always, sometimes in the middle of a loop to create a select box it > just st

Re: [PHP-DB] Pages not fully loading

2007-09-24 Thread Niel Archer
> Further testing shows that the script fails just before the mail() line, > though after a variable number of refreshes it goes through and > downloads all OK. Can anyone think why there should be this occasional > interaction between the mail() command line and the php script. Without seeing

Re: [PHP-DB] Pages not fully loading

2007-09-24 Thread ioannes
Further testing shows that the script fails just before the mail() line, though after a variable number of refreshes it goes through and downloads all OK. Can anyone think why there should be this occasional interaction between the mail() command line and the php script. John ioannes wrote:

Re: [PHP-DB] Maximum execution time setting - How to

2007-09-24 Thread OKi98
Chris Carter napsal(a): Hi, How to fix this in cPanel Fatal error: Maximum execution time of 30 seconds exceeded in "whatever the URL" Or may be its not the right forum for this query. Thanks Chris http://www.php.net/manual/cs/function.set-time-limit.php http://www.php.net/manual/cs/ref.