Hi Mike
> while ($row = mysql_fetch_array($result)) {
> echo "".$row[0]."\n";
> echo "".$row[1]."\n";
> $formatted=sprintf("$%s",$row[2]);
> echo "" $formatted " ";
> }
>
> I get an error in the last line where I want to put $formatted into the last
> cell of a table
> if I // echo $formatte
Mike wrote:
>Hi,
>
Hi Mike
>I have the following code:
>
>while ($row = mysql_fetch_array($result)) {
> echo "".$row[0]."\n";
> echo "".$row[1]."\n";
> $formatted=sprintf("$%s",$row[2]);
> echo "" $formatted " ";
>}
>
>I get an error in the last line where I want to put $formatted into the last
Mike wrote:
>Hi,
>I have the following code:
>
>while ($row = mysql_fetch_array($result)) {
> echo "".$row[0]."\n";
> echo "".$row[1]."\n";
> $formatted=sprintf("$%s",$row[2]);
> echo "" $formatted " ";
>}
>
>I get an error in the last line where I want to put $formatted into the last
>cell of a
Hi,
I have the following code:
while ($row = mysql_fetch_array($result)) {
echo "".$row[0]."\n";
echo "".$row[1]."\n";
$formatted=sprintf("$%s",$row[2]);
echo "" $formatted " ";
}
I get an error in the last line where I want to put $formatted into the last
cell of a table
if I // echo $form
I don't know much about javascript, but I would do the following:
1. Figure out what javascript data structure you are going to use to hold
the data.
2. Figure out exactly how it should be coded.
3. Simply write your PHP script to output your javascript as in 2.
The hard part of the matter (whi
Hi, out there
Has anybody found a way to pass variables between javascript and php?
Here's what I want to achieve:
1. I want to display a mysql_query result record-by-record
(first/prev/next/last buttons) without re-querying.
2. I want to use a static html-form and plug the data into