[PHP-DB] Retrieve data, add new fields and enter it in new table

2004-06-21 Thread Justin.Baiocchi
Hi, I am trying to do the following: - retrieve data from a table based on the $id field (easy enough) - add a few more fields to the data set, then - enter the data (and new fields) into a new table (based on the selected $id field) I'm just not sure how to structure this, do I use a temporary t

[PHP-DB] Re: Stopped working?

2004-06-21 Thread Torsten Roehr
>"James Hatridge" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >HI all... > >I just upgraded my SuSE system from 8.2 to 9.1 now the counters on my web >sites are not working right. I tracked it down to this line: > >$cur_ip = $REMOTE_ADDR; > >I believe that this has stopped working.

[PHP-DB] Re: Stopped working?

2004-06-21 Thread Hans Lellelid
James Hatridge wrote: HI all... I just upgraded my SuSE system from 8.2 to 9.1 now the counters on my web sites are not working right. I tracked it down to this line: $cur_ip = $REMOTE_ADDR; I believe that this has stopped working. The idea was my counter kept your number so that you were only c

[PHP-DB] Stopped working?

2004-06-21 Thread James Hatridge
HI all... I just upgraded my SuSE system from 8.2 to 9.1 now the counters on my web sites are not working right. I tracked it down to this line: $cur_ip = $REMOTE_ADDR; I believe that this has stopped working. The idea was my counter kept your number so that you were only counted once. But now

Re: [PHP-DB] value error in PHP form

2004-06-21 Thread jeffrey_n_Dyke
>>Hi. You left out the 'php' after the ' See if that helps any. ~Philip > > > > > print $action; > print $Name; > ?> > > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To un

Re: [PHP-DB] value error in PHP form

2004-06-21 Thread Philip Thompson
Hi. You left out the 'php' after the ' See if that helps any. ~Philip -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

SV: [PHP-DB] how to iterate over fields names with mysql_fetch_assoc

2004-06-21 Thread Henrik Hornemann
Try rhis: while ($row = mysql_fetch_assoc($result)) { foreach ($row as $fieldName -> $value) echo 'fieldName is: '.$fieldName."\n"; } hth Henrik Hornemann -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sendt: 19. juni 2004 22:26