Peter Beckman wrote:
Here's your problem:
"acct[]" doesn't equal anything.
$acct[4] might.
So:
echo "";
Peter -- Thanks again for you help.
I wonder if it's not a quoting issue on my part?
How would I use the $row["column_name"], in the above statement? Since
it not a $_POST[] filed?
Thank
Here's your problem:
"acct[]" doesn't equal anything.
$acct[4] might.
So:
echo "";
might give you want you want.
The name='acct[]' is used for PHP form processing, putting the correct
value in the variable. For example, $acct[Yes] might be set if you used
this input and it was checked:
Pe
Peter Beckman wrote:
Peter,
Thanks for your prompt reply.
Gonna need some additional information, such as:
1. The first three rows your query returns
2. The expected output
3. The actual problem and/or error.
What I'm trying todo is build a radio box form
for the selection of ledger accoun
Gonna need some additional information, such as:
1. The first three rows your query returns
2. The expected output
3. The actual problem and/or error.
Peter
On Sun, 3 Nov 2002, David Jackson wrote:
> Howdy --
> How do I dynamically generate the "value" for radio buttons off the DB
> (MySQL)
Howdy --
How do I dynamically generate the "value" for radio buttons off the DB
(MySQL) backend? Here's some code that almost works
TIA,
David
- Almost works
$header = mysql_query ("SELECT * FROM chart
ORDER BY acct ");
if ($row = mys