On Thursday 14 March 2002 16:20, John Hughes wrote:
> $sql = "UPDATE parent_log
> SET
> classroom = \"$classroom\",
> homework = \"$homework\",
> library = \"$library\",
> fieldtrip = \"$fieldtrip\",
> pta = \"$pta\",
> mast = \"$mast\",
> meetings = \"$meetings\",
> other = \"
se who would like to see how this works.
John Hughes
- Original Message -
From: "John Hughes, Jomari Works" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 10:42 PM
Subject: [PHP-DB] Creating an array of mySQL results with PHP
> I am worki
), that would save me the time of re-typing a lot if you
feel it would help you.
Court
> -Original Message-
> From: John Hughes [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 12, 2002 12:08 AM
> To: Shrock, Court; [EMAIL PROTECTED]
> Subject: Re: [PHP-DB] Creating an arra
t = $row['mast'];
> $meetings = $row['meetings'];
> $other = $row['other'];
>
> echo <<
>value=\"$classroom\">
>
> EOD;
>
> }
> echo "<";
> ###SNIP
>
>
> > -Original Message-
>
'fieldtrip'];
$pta = $row['pta'];
$mast = $row['mast'];
$meetings = $row['meetings'];
$other = $row['other'];
echo <<
EOD;
}
echo "<";
###SNIP
> -----Original Message-
> From: John Hughes, Jomari Works [mailto:[E
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 10:50 PM
Subject: RE: [PHP-DB] Creating an array of mySQL results with PHP
> Well, you could use the power of PHP arrays and just name your input
fields
> in such a way that would create an array upon subm
nday, March 11, 2002 10:42 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] Creating an array of mySQL results with PHP
>
>
> while ($row = mysql_fetch_array($result)) {
> $week_no = $row['week_no'];
> $week_date = $row['week_date'];
> $parent_id =
I am working on the creation of Web-based database where parents log the
hours they spend participating in school activities. (The school requires
that parents spend two hours each week.)
I have a prototype demonstration site at http://fuzzheads.org/demo
As currently constructed, the parent log