Re: [PHP-DB] php5-sessions next

2005-03-03 Thread mel list_php
Dear Martin, Thank you very much for that, I made the suggested changes. The problem was again coming from the session.save_path directive which was not well configured. With your settings I know have a wonderful display of undefined index, coming from all that non instantiated variables...at

[PHP-DB] Problem with mysql_fetch_array after first loop...

2005-03-03 Thread Jeffrey Baumgartner
I've made a little programme that deletes expired records from database tables. The troublesome bit looks like this... $query = SELECT ic FROM ic_ic WHERE date = CURDATE(); $result = mysql_query($query) or die(Unable to get old campaigns because . mysql_error());

[PHP-DB] Re: Problem with mysql_fetch_array after first loop...

2005-03-03 Thread Steve McGill
Jeffrey Baumgartner [EMAIL PROTECTED] schreef in bericht news:[EMAIL PROTECTED] I've made a little programme that deletes expired records from database tables. The troublesome bit looks like this... $query = SELECT ic FROM ic_ic WHERE date = CURDATE(); $result =

Re: [PHP-DB] php5-sessions next

2005-03-03 Thread Jochem Maas
mel list_php wrote: Dear Martin, Thank you very much for that, I made the suggested changes. The problem was again coming from the session.save_path directive which was not well configured. With your settings I know have a wonderful display of undefined index, coming from all that non

Re: [PHP-DB] Expiry Date ($date function)

2005-03-03 Thread Jochem Maas
Ron Piggott wrote: That strtotime is a neat little command. With a bit more searching I found that this works: $expiry_date = strtotime(+21 days); $expiry_date = date('Y-m-d', $expiry_date); echo $expiry_date; The computer couldn't cope with me doing it in just one line --- I got a parse error.

Re: [PHP-DB] Re: Problem with mysql_fetch_array after first loop...

2005-03-03 Thread Jochem Maas
Steve McGill wrote: Jeffrey Baumgartner [EMAIL PROTECTED] schreef in bericht news:[EMAIL PROTECTED] I've made a little programme that deletes expired records from database tables. The troublesome bit looks like this... $query = SELECT ic FROM ic_ic WHERE date = CURDATE(); $result =

Re: [PHP-DB] email question

2005-03-03 Thread Brent Baisley
First, you don't use POP3 for sending emails, you use SMTP. POP3 is a retrieval mechanism, like IMAP. You actually don't need POP3 or IMAP to send and receive emails, you need it to read them with a typical mail client (i.e. Outlook). Postfix, Sendmail, etc., don't support POP3 and IMAP

[PHP-DB] solved [Re: [PHP-DB] Re: Problem with mysql_fetch_array after first loop...]

2005-03-03 Thread Jeffrey Baumgartner
That was indeed the problem and of course I should have seen it myself! Thanks very much, Jochem. Jeffrey Jochem Maas wrote: Steve McGill wrote: Jeffrey Baumgartner [EMAIL PROTECTED] schreef in bericht news:[EMAIL PROTECTED] I've made a little programme that deletes expired records from database

Re: [PHP-DB] php5-sessions next

2005-03-03 Thread Martin Norland
mel list_php wrote: Dear Martin, Thank you very much for that, I made the suggested changes. The problem was again coming from the session.save_path directive which was not well configured. With your settings I know have a wonderful display of undefined index, coming from all that non

[PHP-DB] suggestions

2005-03-03 Thread Mignon Hunter
Hello I need to dev a small app and I can think of a couple different ways to handle it but not sure the best way. I need to register those who come to our site that want to download .pdf's. They will fill out some information before I redirect to the pdf. I'm thinking the best way to

Re: [PHP-DB] suggestions

2005-03-03 Thread Jochem Maas
Mignon Hunter wrote: Hello Mignon, this is really a php-generals question me thinks (you don't even mention a DB ;-), regardless I need to dev a small app and I can think of a couple different ways to handle it but not sure the best way. I need to register those who come to our site that

Re: [PHP-DB] suggestions

2005-03-03 Thread Matt M.
Hello I need to dev a small app and I can think of a couple different ways to handle it but not sure the best way. I need to register those who come to our site that want to download .pdf's. They will fill out some information before I redirect to the pdf. I'm thinking the best way

Re: [PHP-DB] suggestions

2005-03-03 Thread Jochem Maas
Mignon Hunter wrote: Sorry - forgot to mention the data I'm collecting will go into a dbase, that's why I posted here. fine. but your not having trouble putting data into a DB. yet. :-) Thanks I'll work with the session angle. Please see if this logic is flawed... The hyperlink to the pdf will

Re: [PHP-DB] changing output method

2005-03-03 Thread chintan
the output looks like this CompanyName 641002 AddressLine1641002 AddressLine2641002 City641002 PostalCode 641002 it goes to the last field only not one by one -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP-DB] changing output method

2005-03-03 Thread chintan
and as aniruddh's suggestion i was unable to printout any raws it just prints tables fieldname -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php