Re: [PHP-DB] show data from 2 tables

2003-10-28 Thread Rolf Brusletto
Doug - the data would actually be accessed as the actual fieldnames without the "tablename." while($row=mysql_fetch_assoc($result)) { foreach($row as $key => $value) { echo '$row['.$key.'] => '.$value.''; } echo '

Re: [PHP-DB] redirect

2003-10-27 Thread Rolf Brusletto
s requested, and /usage/index.html is the file that it needs to go to. Rolf Brusletto www.phpExamples.net -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Urgent help needed

2003-10-21 Thread Rolf Brusletto
ay by doing the following... foreach($del as $id => $slot) { echo $id.''; echo 'path = '.$slot[path].''; echo 'title = '.$slot[title].''; } Hope this helps... Rolf Brusletto phpExamples.net http://www.phpExamples.net Chris Payne wrote:

Re: [PHP-DB] formatting a timestamp

2003-05-31 Thread Rolf Brusletto
*This message was transferred with a trial version of CommuniGate(tm) Pro* Rick, You can use date() in the following fashion.. $timeStamp = time(); date('m-d-y : h-m', $timeStamp); where $timestamp is a unix epoch timestamp. Hope this helps! Rolf Brusletto http://www.phpexamples.net

Re: [PHP-DB] functions IN the database.

2003-05-31 Thread Rolf Brusletto
f I'm overlooking something, but why not just use a class? Edward Dudlik Becoming Digital www.becomingdigital.com - Original Message - From: "Rolf Brusletto" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, 30 May, 2003 17:10 Subject: [PHP-DB] functions IN

[PHP-DB] functions IN the database.

2003-05-31 Thread Rolf Brusletto
hing that comes to mind, plus it would allow for gui editing of or creating functions via a secured webpage. Thanks on advance! Rolf Brusletto http://www.phpexamples.net -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php