RE: [PHP-DB] Tutorials for PHP & MySQL

2001-12-02 Thread BoNzO
Hi Geoff, i have gathered some tutorials http://bonzo.sineleven.nu Best Regards Mattias aka BoNzO -Original Message- From: Geoff E [mailto:[EMAIL PROTECTED]] Sent: den 2 december 2001 09:34 To: [EMAIL PROTECTED] Subject: [PHP-DB] Tutorials for PHP & MySQL I'm looking f

RE: [PHP-DB] problem with WHILE loop

2001-10-01 Thread BoNzO
$list = mysql_query("select id,title from table1"); while ($row = mysql_fetch_array($list)) { echo("$row[title]\n"); } -Original Message- From: Eric J Schwinder [mailto:[EMAIL PROTECTED]] Sent: den 1 oktober 2001 20:18 To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] problem with WHIL

RE: [PHP-DB] can you help to beginner?

2001-08-23 Thread BoNzO
$result = mysql_query($sql); $num = mysql_num_rows($result); if ($num) { while ($row = mysql_fetch_array($result)) { $html.= "$row[services]"; } } else { $html = "No Services"; }

RE: [PHP-DB] phpMyAdmin (well mySQL) and listing DB's

2001-08-19 Thread BoNzO
Look closer in the config.inc.php file.. There is a "show only this table" option /BoNzO http://bonzo.sineleven.nu -Original Message- From: Tom Carter [mailto:[EMAIL PROTECTED]] Sent: den 19 augusti 2001 15:54 To: [EMAIL PROTECTED] Subject: [PHP-DB] phpMyAdmin (well

Re: [PHP-DB] Member authentication with PHP and MySQL

2001-08-13 Thread BoNzO
i use this script with apache/php/mysql then you can always reach the userid with $PHP_AUTH_USER /Mattias Aka BoNzO http://bonzo.sineleven.nu -- Original Message -- From: Cato Larsen <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Send: 01:47 AM Subject: [PHP-DB] Member authentication wi

Re: [PHP-DB] Attachment

2001-08-09 Thread BoNzO
se(MAIL); } } } sub doBackup { my ($logFile, $backupFile, $backupDir) = @_; `tar cvvf $backupFile $backupDir > $logFile`; `gzip $backupFile`; `chmod 400 $logFile $backupFile.gz`; } sub _encodeFile { my ($file) = @_; my ($buf, $encoded); open(FILE, "$file") or die "$!"; while (read(FILE, $buf, 60*57)) { $encoded.= encode_base64($buf); } return $encoded; } /Mattias aka BoNzO http://bonzo.sineleven.nu -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]