[PHP-WIN] Re: mail($To problem

2003-12-04 Thread Mike Quinn
Hi Alan, You have to set the headers to send HTML emails (that could be it!) $header = "MIME-Version: 1.0\r\n Content-type: text/html; charset=iso-8859-1\r\n"; $address = "[EMAIL PROTECTED]"; $subject = "HTML Email"; $content = "stuff"; mail($address, $subject, $content, $header); "Alan Mc

[PHP-WIN] Re: Can start php under Apache after Load Module php4apache.dll

2003-10-01 Thread Mike Quinn
Sorry I didn't mean work literally, but it should return the error you are looking for to describe what's up. Likewise with the other lines remove the or exit(); in case you have a typo. "Mike Quinn" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED]

[PHP-WIN] Re: Can start php under Apache after Load Module php4apache.dll

2003-10-01 Thread Mike Quinn
Hi Morton, Remove or exit(); on the mysql_select_db("sampdb"); and that should work for you! Regards, Michael Quinn "Morten Gulbrandsen" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] Thanks, I did, and now I can restart Apache. Here is my simplest PHP script. And

[PHP-WIN] Matching arrays to build tables (Solved)

2003-09-29 Thread Mike Quinn
I got a very modest email from Bill Baron with the following code which works absolutely perfectly even though Bill never tested it! (Slick!). Thank's a million for that Bill and also thanks to Svensson for all the help - very much appreciated. Here is the code which I modified ever so slightly to

[PHP-WIN] Re: SQL query problem

2003-09-29 Thread Mike Quinn
Hi George, Just at a quick glance it might be to do with the Date(); Remove that clause and see what happens. I could be wrong. Rgds, Michael "George Pitcher" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Hi, > > I'm having a problem with the following query (ODBC on M$

Re: [PHP-WIN] Matching arrays to build tables

2003-09-29 Thread Mike Quinn
ing a proper answer: > is it possible to have different codes on the very same day? > > -Original Message- > From: Mike Quinn > To: [EMAIL PROTECTED] > Sent: 29-9-2003 7:11 > Subject: Re: [PHP-WIN] Matching arrays to build tables > > Hi Svensson, > > Thanks fo

Re: [PHP-WIN] Matching arrays to build tables

2003-09-29 Thread Mike Quinn
; escribió en el mensaje news:[EMAIL PROTECTED] > Would something like > > SELECT day, SUM(amount) AS amount_sum, DISTINCT(code) AS code > FROM > WHERE > GROUP BY day,amount _sum, Code > > be usefull for you? Or do you already do this? > > -Original Message- > Fr

[PHP-WIN] Matching arrays to build tables

2003-09-29 Thread Mike Quinn
Hi, I have 3 dynamic arrays which is related data pulled from a mySQL database, the first being day $days[],second being amount $amount[] and third being a specific code $code[]. What I need to do is display a table with 1 to 15 in the left hand column (days) but where the array $days[] contains a

[PHP-WIN] Array matching to build table

2003-09-29 Thread Mike Quinn
Hi, I have 3 dynamic arrays which is related data pulled from a mySQL database, the first being day $days[],second being amount $amount[] and third being a specific code $code[]. What I need to do is display a table with 1 to 15 in the left hand column (days) but where the array $days[] contains a