u mean like this??
$id=mysql_result($result,$i,"ID");
while($temp = mysql_fetch_array($result)){
foreach($temp as $varNm =>$varVal){
$$varNm =$varVal;
}
/*
put your table code here
*/
}
?>
SOry just gues!
- Original Message -
From: "sam rumaizan" <[EMAIL PROTECTED]>
To
to alex.. that's always be my line.. asking what source code..
actualy.. that's fine
to sam.. in return try this
data
You can change the information in any cell and submit it to mysql to update
the original database.
Basically when the user views his/her information he/she s
update the data from this form into the MySQL?
Aleksandar Vojnovic <[EMAIL PROTECTED]> wrote: Sorry I still don't understand.
Do you wish to display/reload the data
on some timeout (ala AJAX) or you actually wish to update the data from
this form into the MySQL?
Aleksander
sam rumaizan wro
I think what you're asking is how can you have a form pull data from your
database, populate the form, but then have fields to the side so the user
and update the database based on the user input.
Kind of like a "Change my personal information" page.
I would do it like this:
1. Write your quer
Sorry I still don't understand. Do you wish to display/reload the data
on some timeout (ala AJAX) or you actually wish to update the data from
this form into the MySQL?
Aleksander
sam rumaizan wrote:
*Copy and paste my code in your editor and run it then you will
understand what I need*
*<-
sam rumaizan wrote:
Copy and paste my code in your editor and run it then you will understand what
I need
Why do all your field definitions contain 'name="update"' ?
--
Regards,
Alf Stocktonwww.stockton.co.za
Fame is a vapor; popularity an accident; the only earthly certainty i
Copy and paste my code in your editor and run it then you will understand what
I need
data
You can change the information in any cell and submit
it to mysql to update the origina
Of course it can be done, but please be more specific about what you
wish to achieve.
Aleksander
sam rumaizan wrote:
Dynamically update mysql field
I have a function that will populate the table cells (TD) with data (information) from mysql database.
What I need to do is to allow the
sam rumaizan wrote:
Dynamically update mysql field
I have a function that will populate the table cells (TD) with data (information) from mysql database.
What I need to do is to allow the user to update the cell information
(information was pulled from mysql database) from the table cel