|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Editing mysql rows
Hello All,
I am very new to PEAR and PHP and was wondering whether it is possible to edit data in mysql. I have used structures::datagrid to get a table onto the page but there are fields that I would like to be able to edit. I can add the script that I have written for you to see and advise on how I am able to edit some of the fileds. I suppose the question is, am I able to edit the fields using PEAR and if so what would I have to do to the code that I have?. and if not what would be the sugested way of doing what I would like to do? Thanks Last edited by newarkweb : July 14th, 2009 at 07:17 AM. |
|
#2
|
|||
|
|||
|
Well, the edit form is something that you need to write yourself, e.g. with the QuickForm package.
Some assistance is provided by the HTMLEditForm renderer: http://pear.php.net/manual/en/package.structures.structures-datagrid.structures-datagrid-renderer.htmleditform.php (but you can, of course, create your own form without this renderer) |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PEAR Packages > Editing mysql rows |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|