[PHP-DB] Re: donwload listed dir

2005-02-16 Thread Nadim Attari
http://www.chrispederick.com/work/php/source/file/file.php "It Clown" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > Hi All, > > How would i create links dynamicaly for each file that has > been listed in a dir? > > Regards > __

[PHP-DB] Intermittent odbc_connect() problem with iodbc/openlink

2005-02-16 Thread Crone, James
I'm having intermittent problems with odbc_connect(). Here's the situation I'm trying to connect to a Sybase Adaptive Server Anywhere database running on Win2K from my web server using Solaris, Apache, PHP, iODBC, and OpenLink's ODBC universal data access driver for MSSQL/Sybase. About 75%

RE: [PHP-DB] Re: checkbox into mysql using php

2005-02-16 Thread Bastien Koert
$value is not an array...wont run try $valuecount = count($_POST['games']); bastien From: "moses Woldeselassie" <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: RE: [PHP-DB] Re: checkbox into mysql using php Thank you, i don't have any problem using that syntax: if (isset($_POST['submit'])) {

RE: [PHP-DB] Re: checkbox into mysql using php

2005-02-16 Thread moses Woldeselassie
Thank you, i don't have any problem using that syntax: if (isset($_POST['submit'])) { echo "You chose the following games:"; foreach($_POST['games'] AS $game => $value) $sql = mysql_query("insert into interest(username) values('$value')"); but the problem is with the following:

[PHP-DB] Re: checkbox into mysql using php

2005-02-16 Thread pete M
foreach($_POST['name'] as $k => $v){ } moses Woldeselassie wrote: hi all I need a simple php script to use for html Select from the list (check all that apply): kind regards meberat -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Database visible via mysql CLI but not MOD_PHP with

2005-02-16 Thread Elliot Mackenzie
I have an update for this. I used mysql_connect to connect to the database and then ran the query "select current_user()". I discovered that despite using mysql_connect specifying a username and password, it still insisted on connecting as "@localhost", but with no user. The @localhost user do

RE: [PHP-DB] checkbox into mysql using php

2005-02-16 Thread Bastien Koert
to do what? bastien From: "moses Woldeselassie" <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: [PHP-DB] checkbox into mysql using php Date: Wed, 16 Feb 2005 11:28:17 + hi all I need a simple php script to use for html Select from the list (check all that apply): kind regar

Re: [PHP-DB] Database visible via mysql CLI but not MOD_PHP with

2005-02-16 Thread Elliot Mackenzie
Agh! GLOBALS GLOBALS GLOBALS. For a future suckers' reference, the variable was not available in its scope, and was thus passing null as the username to mysql_connect, which in turn was connecting to the database as "@localhost". Thanks for your help, pardon my stupidity :) Kind regar

[PHP-DB] checkbox into mysql using php

2005-02-16 Thread moses Woldeselassie
hi all I need a simple php script to use for html Select from the list (check all that apply): kind regards meberat -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Database visible via mysql CLI but not MOD_PHP withsame username

2005-02-16 Thread Elliot Mackenzie
OK I will look further and try these ideas today. Cheers, M. Bastien Koert wrote: > sounds like a mysql account user permissions problem to me, too > > bastien > >>From: Martin Norland <[EMAIL PROTECTED]> >>Reply-To: php-db@lists.php.net >>To: php-db@lists.php.net >>Subject: Re: [PHP-DB] Datab