[PHP-DB] Re: Problem

2003-03-08 Thread Edwin Boersma
Does not sound like a PHP problem to me, more like IIS. Try and find some system messages that relate to the link between the servers. Edwin Kiswa wrote: Ok here is the problem. At home i run an Apache server with php4 and the server its supposed to be run on is NT5 and iis with php4 The site

[PHP-DB] Re: Need help with php and apache

2003-03-08 Thread Edwin Boersma
Post this message to php.install. Stephen K Knight wrote: I am currently running on a Windows Box the OS is ME I have installed apache 2.0.44 and I have downloaded the newest PHP download for windows. I have read the configuration manual repeatedly for getting the php into the apache httpd.conf

[PHP-DB] Re: mysql - first element missing

2003-03-08 Thread Edwin Boersma
Therefor, add a mysql_data_seek($this-result,0) to reset the pointer. Furthermore, instead of the for-next loop, I would use while ($row = mysql_fetch_row($this-result). Edwin Foong wrote: i guess the problem is the last line of your Query function: $this-ligne =

[PHP-DB] PHP + Interbase / Firebird extensions

2003-03-08 Thread Andy Neillans
This might sound like a daft question, so I apologise :) I have been asked to link to an existing Firebird / Interbase server and pull some records via PHP page on our intranet and internet servers. The problem is, correct me if I am wrong, that I need to recompile PHP to install the Interbase

Re: [PHP-DB] How to page results?

2003-03-08 Thread David Eisenhart
There is also a decent looking article (haven't yet studied it in any detail though) on pagination at http://www.phpfreaks.com/tutorials/43/0.php David Eisenhart Richard Hutchins [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Mike, If you check www.phpclasses.org, and search for

[PHP-DB] subtracting times

2003-03-08 Thread David Rice
I know I asked this before buy no-one gave me an answer i was looking for, I want to subtract two times and the ammount of hours worked to 2decimal places (3.41 hours) cheers, dave _ Use MSN Messenger to send music and pics to

[PHP-DB] Re: subtracting times

2003-03-08 Thread Edwin Boersma
I see 2 replies Edwin David Rice wrote: I know I asked this before buy no-one gave me an answer i was looking for, I want to subtract two times and the ammount of hours worked to 2decimal places (3.41 hours) cheers, dave _

Re: [PHP-DB] PHP + Interbase / Firebird extensions

2003-03-08 Thread Koleszr Tibor
Dear Andy, Sorry if i cant answer for your question, I'm a Debian user and I don't know the apache and php packages of Readhat and Mandrake. In Debian simply you have to apt-get the php4-interbase module for php and you have to restart apache. You should check your system about: - is apache

[PHP-DB] explode string variable

2003-03-08 Thread André Sannerholt
Hi everyone! Does anybody know how to stop an explosion of a string: Let me explain: $variable_aray=explode('-', $variable); I want the variable to be devided in only two other ones! If for example: $variable=Willy-Brandt-Platz-5 I want to have an array that looks like this:

Re: [PHP-DB] Re: subtracting times (solution)

2003-03-08 Thread David Rice
It took me about 30 mins but after 2 attempts i came up with a function that subtracts 2 times to give an answer in hours, to two decimal places. thanks for your help the two people who responded when i posted the question, your suggestions were a bit out on a tangent from what i wanted. But

RE: [PHP-DB] PHP + Interbase / Firebird extensions

2003-03-08 Thread Andrew Neillans
Tibor, Thanks for your response! I thought it would be fairly simple to find the RPM for Mandrake / Redhat and install it, but I can't seem to find one anywhere for php4-interbase. Apache and PHP are compiled for module support, as I have a couple of modules already installed and running. Any

[PHP-DB] Re: explode string variable

2003-03-08 Thread Fredrik de Vibe
[EMAIL PROTECTED] (André Sannerholt) writes: Does anybody know how to stop an explosion of a string: Let me explain: $variable_aray=explode('-', $variable); I want the variable to be devided in only two other ones! If for example: $variable=Willy-Brandt-Platz-5 I want to have an array

[PHP-DB] Re: explode string variable

2003-03-08 Thread Joel Colombo
or just : $word = James-Martin-Smith $word_break = Array(); $first_dash = strpos($word, '-'); if ($first_dash !== false) { $word_break[0] = substr($word,0,$first_dash+1); $word_break[1] = substr($word,$first_dash+1,strlen($word)); } André Sannerholt [EMAIL PROTECTED] wrote in

Re: [PHP-DB] explode string variable

2003-03-08 Thread Paul Burney
on 3/8/03 10:40 AM, André Sannerholt at [EMAIL PROTECTED] appended the following bits to my mbox: Does anybody know how to stop an explosion of a string: Let me explain: I want the variable to be devided in only two other ones! If for example: $variable=Willy-Brandt-Platz-5 I want to have

[PHP-DB] file save part 2

2003-03-08 Thread Ryan Holowaychuk
I have tried a few things and I can get the file to have each line on its own line. Once again this is a roster input that I adding to our website: No, name grade . The roster will contain 15 players So right now the implode puts everything on one line in the text file!!! So I am no sure

Re: [PHP-DB] file save part 2

2003-03-08 Thread Paul Burney
on 3/8/03 6:13 PM, Ryan Holowaychuk at [EMAIL PROTECTED] appended the following bits to my mbox: I have tried a few things and I can get the file to have each line on its own line. FYI, this is probably on the wrong list since it isn't database related. You should post to PHP-GENERAL to get