Just want to thank everyone and tell how it finally came out...
I was making way to much of this and went into difficult concepts too
quickly. That's where the problem came from. Trying to build on
earlier mistakes.
We already had an array for the column names so a suggestion that I
use on
> -Original Message-
> From: Floyd Baker [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 17:09
OK, I think I'm finally beginning to understand what you're up to, and it seems to me
everyine's been making rather heavy weather of it so far!
> The user's choice is made from a drop down
>Also, other than the display of a table, what do you want the user input
>for? If you're planning on doing any data manipulation, then your coding
>will get a bit hairy because you won't know what relation the user input
>data has to your standard data (name, time, temp
mp and offset). Finally, if
you're planning on storing the data in a database table, each table will
need to be created on the fly--it can be done, but if you're struggling with
this, it'll take you some time to get the back end working.
Hope this helps,
Hugh
- Original Mes
Very sorry for the dupes... Kept thinking I had pressed reply instead
of reply all.
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well I might be in the wrong place. I've also asked in the HTML list
now too but I'm still stuck and need some help.
This is pretty much as clear as I can make it. I'm up against a
mental block and even if it's as clear as glass to others I'm dead in
the water and would appreciate some point
Well I might be in the wrong place. I've also asked in the HTML list
now too but I'm still stuck and need some help.
This is pretty much as clear as I can make it. I'm up against a
mental block and even if it's as clear as glass to others I'm dead in
the water and would appreciate some point
ent: Sunday, November 24, 2002 11:29 PM
> To: Hugh Danaher
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] dynamic arraynames
>
>
> Thank you for your efforts. The ideas are helping but sorry I am not
> clear. Not used to expressing myself regarding the coding I do.
>
>
uot;$table", $link);
> $columns = mysql_num_fields($fields);
> mysql_close($link);
> print "cellpadding=0>$table";
> print "cellpadding=4>";
> print "";
> for ($i = 0; $i < $columns; $i++)
> {
> print "color=white>".mysql_field_name($field
print "";
for ($i = 0; $i < $columns; $i++)
{
print "".mysql_field_name($fields, $i)."";
}
print "";
print "";
for ($i = 0; $i < $columns; $i++)
{
print "".mysql_field_type($results,
$i)."";
}
print ""
On Sat, 23 Nov 2002 10:58:02 -0500, you wrote:
>> I am trying to generate arrays to hold inputs to columns. Column
>> titles are input to a table as needed. They are read by the program
>> and placed across the page. Then an array goes under each column name
>> to collect the inputs to the vari
> I am trying to generate arrays to hold inputs to columns. Column
> titles are input to a table as needed. They are read by the program
> and placed across the page. Then an array goes under each column name
> to collect the inputs to the various rows. Everything works except to
> dynamically
12 matches
Mail list logo