[Phpmyadmin-devel] Inline editing and updated values
Marc Delisle
marc at infomarc.info
Thu Jul 29 21:17:43 CEST 2010
Ninad Pundalik a écrit :
> Hi,
>
> During the saving of an inline edit, I'm generating the update query
> with JavaScript on the client side, and posting it to tbl_replace.php,
> which prepares some variables for sql.php. sql.php then executes the
> update query, and generates an output in JSON, which is evaluated by
> jQuery at the client side. If the query has been successful, the
> values that were in the textarea/input fields, are taken as the new
> value for that field and the HTML is updated to that effect.
(...)
Ninad,
while looking for a solution, I noticed another problem. When you
generate the UPDATE query, it seems you are taking the column name from
the displayed header and this is not correct as in my sample table,
there are column comments (which are displayed in the header while
browsing).
--
Marc Delisle
http://infomarc.info
More information about the Developers
mailing list