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] Database visible
hi all
I need a simple php script to use for html
form action=checkbox.php method=post
Select from the list br / (check all that apply):br /
input type=checkbox name=list[] value=x
input type=checkbox name=list[] value=y
input type=submit name=submit value=Go! /
/form
kind regards
meberat
--
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
to do what?
bastien
From: moses Woldeselassie [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: [PHP-DB] checkbox into mysql using php input type=checkbox
name=list[] value=x
Date: Wed, 16 Feb 2005 11:28:17 +
hi all
I need a simple php script to use for html
form action=checkbox.php
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 does
foreach($_POST['name'] as $k = $v){
}
moses Woldeselassie wrote:
hi all
I need a simple php script to use for html
form action=checkbox.php method=post
Select from the list br / (check all that apply):br /
input type=checkbox name=list[] value=x
input type=checkbox name=list[] value=y
input
Thank you,
i don't have any problem using that syntax:
if (isset($_POST['submit'])) {
echo You chose the following games:br /;
foreach($_POST['games'] AS $game = $value)
$sql = mysql_query(insert into interest(username)
values('$value'));
but the problem is with the following:
$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 input
type=checkbox name=list
Date: Wed, 16 Feb 2005 22:09:09 +
Thank you,
i don't
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
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
10 matches
Mail list logo