Re: [PHP-DB] Need For SPEED

2003-08-21 Thread Phil Driscoll
ng an index on that field will speed things up lots - especially as the table becomes big. -- Phil Driscoll -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] % operator

2003-08-14 Thread Phil Driscoll
o 24 goes 3 times with a remainder of 4, hence $mod=25%4 gives $mod=4 Cheers -- Phil Driscoll -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] % operator

2003-08-14 Thread Phil Driscoll
On Tuesday 12 August 2003 10:39 am, Phil Driscoll wrote: > The modulus is the remainder after division hence 5 into 24 goes 3 times > with a remainder of 4, oops - 4 times with a remainder of 4 :( -- Phil Driscoll -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP-DB] MySQL Error???

2001-06-28 Thread Phil Driscoll
The error is probably caused by you inserting a value (127) nto a unique or key field which is identical to one in another record. -- Phil Driscoll -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP-DB] Is MySQL in 4.0.6?

2001-06-26 Thread Phil Driscoll
L support (but as with all versions of php, it does not include MySQL itself). Cheers -- Phil Driscoll -- 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, e-mai

Re: [PHP-DB] undefined index

2001-05-01 Thread Phil Driscoll
sensible*/ } Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org -- 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 administra

Re: [PHP-DB] csv file with mysql

2001-03-12 Thread Phil Driscoll
the possibility of being caught out by errant scripts running away with your machine. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP-DB] my sql text query

2001-03-10 Thread Phil Driscoll
y strings (and hence your mysql_fetch_array calls will have an entry for that field containing an entry string) and then back again to null. I've just tried it on my machine and it works a treat. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http

Re: [PHP-DB] my sql text query

2001-03-09 Thread Phil Driscoll
Good heavens, another PHP developer in Leeds:) I think (I haven't tried this!) you could change the field type to not-null - then your array should get populated with empty strings for any records where this field is not set. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112

Re: [PHP-DB] Windoze crashes on this simple logon script.

2001-02-16 Thread Phil Driscoll
I suspect that what is going on is that your code is just going around in circles - the redirect is just opening the same page over and over again because your logic is flawed somewhere. Instead of outputting the location header, output an http://www.dialsolutions.com http://www.dtonline.org --

Re: [PHP-DB] installing php4 on windows and apache 1.3.*

2001-02-08 Thread Phil Driscoll
om the command line run e:/php4/php.exe -i) If that works ok (and prints out the phpinfo() html, then double check your httpd.conf. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org -- PHP Database Mailing List (http://www.php.net/)