Re: Dynamically update mysql field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



to alex.. that's always be my line.. asking what source code..
actualy.. that's fine
 
to sam.. in return try this
 
    <!--start copy -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>data</TITLE>
</HEAD>
  <BODY>
  <H1> <font color ="red">
 
  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 should have the option to change the information.</font>
 </H1>
<form>
<TABLE  BORDER=1 CELLSPACING=0 CELLPADDING=0 WIDTH="100%">
<TR ALIGN="CENTER">
 <TH>NAME</TH>
 <TH>JOB TITLE</TH>
 <TH> COLOR</TH>
 <TH>ADDRESS</TH>
 <TH>PHONE NO</TH>
</TR>
<TR  ALIGN="CENTER" HEIGHT="80" >
 <TD> data form mysql :<br><b>SAM <br>
   <input name="updateName" type="submit" id="updateName" value="update this cell">
   <br>
   <font color ="red">You can change the information and submit it to mysql to update the original database.</font> </TD>
 <TD> data form mysql :<br><b>ENGENEER </TD>
 <TD> data form mysql :<br><b>RED </TD>
 <TD> data form mysql :<br><b>OKLAHOMA </TD>
 <TD> data form mysql :<br><b>405-12452 </TD>
  </TR>
<TR  ALIGN="CENTER" HEIGHT="80" >
 <TD> data form mysql :<br><b>JOHN </TD>
 <TD> data form mysql :<br><b>DESIGNER <br><input name="updateJob" type="submit" id="updateJob" value="update this cell"><br><font color ="red">You can change the information and submit it to mysql to update the original database.</font> </TD>
 <TD> data form mysql :<br><b>BLUE </TD>
 <TD> data form mysql :<br><b>COLORADO </TD>
 <TD> data form mysql :<br><b>303-5458 </TD>
  </TR>
  <TR  ALIGN="CENTER" HEIGHT="80" >
 <TD> data form mysql :<br><b>MIKE</TD>
 <TD> data form mysql :<br><b>STUDENT </TD>
 <TD> data form mysql :<br><b>GREEN<br><input name="updateColour" type="submit" id="updateColour" value="update this cell"><br><font color ="red">You can change the information and submit it to mysql to update the original database. </font> </TD>
 <TD> data form mysql :<br><b>UTAH </TD>
 <TD> data form mysql :<br><b>504-5670 </TD>
  </TR>
  <TR  ALIGN="CENTER" HEIGHT="80" >
 <TD> data form mysql :<br><b>JULI</TD>
 <TD> data form mysql :<br><b>TEACHER</TD>
 <TD> data form mysql :<br><b>PINK<br><input type="submit" name="update" value="update this cell"><br><font color ="red">You can change the information and submit it to mysql to update the original database.</font> </TD>
 <TD> data form mysql :<br><b>TEXES </TD>
 <TD> data form mysql :<br><b>405-6364 </TD>
  </TR>
</TABLE>
  
 
</form>
  </BODY>
</HTML>
    <!--end copy -->
 
this line is same as yours but i change the name to make everyone understand.
 
Yes I am sure that this can be done but we need more information before
recommending a solution.
after see the output.. i found what he intend to do..
see the attach.
 
Sam, what u going to do is.
if user see one of the data was wrong, he/she click on the button (i should change the name into Edit). After click (read source), it trigger js to open new window which inside include textbox
perhaps like this? if i click on the Address the next window will show..
 
Address : [...................] (input here)
 
[Update] (submit)
 
 
-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux