Submit Search
Upload
12. edit record
•
0 likes
•
616 views
Razvan Raducanu, PhD
Follow
http://www.rraducanu.ro
Read less
Read more
Education
Slideshow view
Report
Share
Slideshow view
Report
Share
1 of 3
Recommended
8. vederea inregistrarilor
8. vederea inregistrarilor
Razvan Raducanu, PhD
20. CodeIgniter edit images
20. CodeIgniter edit images
Razvan Raducanu, PhD
10. view one record
10. view one record
Razvan Raducanu, PhD
11. delete record
11. delete record
Razvan Raducanu, PhD
11. CodeIgniter vederea unei singure inregistrari
11. CodeIgniter vederea unei singure inregistrari
Razvan Raducanu, PhD
Drupal 9 training ajax
Drupal 9 training ajax
NeelAndrew
Drupal csu-open atriumname
Drupal csu-open atriumname
Emanuele Quinto
14. CodeIgniter adaugarea inregistrarilor
14. CodeIgniter adaugarea inregistrarilor
Razvan Raducanu, PhD
Recommended
8. vederea inregistrarilor
8. vederea inregistrarilor
Razvan Raducanu, PhD
20. CodeIgniter edit images
20. CodeIgniter edit images
Razvan Raducanu, PhD
10. view one record
10. view one record
Razvan Raducanu, PhD
11. delete record
11. delete record
Razvan Raducanu, PhD
11. CodeIgniter vederea unei singure inregistrari
11. CodeIgniter vederea unei singure inregistrari
Razvan Raducanu, PhD
Drupal 9 training ajax
Drupal 9 training ajax
NeelAndrew
Drupal csu-open atriumname
Drupal csu-open atriumname
Emanuele Quinto
14. CodeIgniter adaugarea inregistrarilor
14. CodeIgniter adaugarea inregistrarilor
Razvan Raducanu, PhD
Borrados
Borrados
orlanodavidescobar
Facebook
Facebook
Dan Michael Molina
画像Hacks
画像Hacks
Yusuke Wada
Php if
Php if
nurhardianti98
21. CodeIgniter search
21. CodeIgniter search
Razvan Raducanu, PhD
Migrare da symfony 1 a Symfony2
Migrare da symfony 1 a Symfony2
Massimiliano Arione
Open Selector
Open Selector
jjdelc
Daily notes
Daily notes
meghendra168
linieaire regressie
linieaire regressie
Mwalima Peltenburg
Mootools selectors
Mootools selectors
ARIF MAHMUD RANA
Zf Zend Db by aida
Zf Zend Db by aida
waraiotoko
PhoneGap: Local Storage
PhoneGap: Local Storage
Ivano Malavolta
16. CodeIgniter stergerea inregistrarilor
16. CodeIgniter stergerea inregistrarilor
Razvan Raducanu, PhD
Coding website
Coding website
PutuMahendra Wijaya
WordCamp Montreal 2015: Combining Custom Post Types, Fields, and Meta Boxes t...
WordCamp Montreal 2015: Combining Custom Post Types, Fields, and Meta Boxes t...
allilevine
Let's write secure Drupal code! - 13.09.2018 @ Drupal Europe, Darmstadt, Germany
Let's write secure Drupal code! - 13.09.2018 @ Drupal Europe, Darmstadt, Germany
Balázs Tatár
Crash Course to SQL in PHP
Crash Course to SQL in PHP
webhostingguy
Exemple de création de base
Exemple de création de base
Saber LAJILI
Php update and delet operation
Php update and delet operation
syeda zoya mehdi
Add edit delete in Codeigniter in PHP
Add edit delete in Codeigniter in PHP
Vineet Kumar Saini
Database Design Patterns
Database Design Patterns
Hugo Hamon
Symfony CoP: Form component
Symfony CoP: Form component
Samuel ROZE
More Related Content
What's hot
Borrados
Borrados
orlanodavidescobar
Facebook
Facebook
Dan Michael Molina
画像Hacks
画像Hacks
Yusuke Wada
Php if
Php if
nurhardianti98
21. CodeIgniter search
21. CodeIgniter search
Razvan Raducanu, PhD
Migrare da symfony 1 a Symfony2
Migrare da symfony 1 a Symfony2
Massimiliano Arione
Open Selector
Open Selector
jjdelc
Daily notes
Daily notes
meghendra168
linieaire regressie
linieaire regressie
Mwalima Peltenburg
Mootools selectors
Mootools selectors
ARIF MAHMUD RANA
Zf Zend Db by aida
Zf Zend Db by aida
waraiotoko
PhoneGap: Local Storage
PhoneGap: Local Storage
Ivano Malavolta
16. CodeIgniter stergerea inregistrarilor
16. CodeIgniter stergerea inregistrarilor
Razvan Raducanu, PhD
Coding website
Coding website
PutuMahendra Wijaya
WordCamp Montreal 2015: Combining Custom Post Types, Fields, and Meta Boxes t...
WordCamp Montreal 2015: Combining Custom Post Types, Fields, and Meta Boxes t...
allilevine
Let's write secure Drupal code! - 13.09.2018 @ Drupal Europe, Darmstadt, Germany
Let's write secure Drupal code! - 13.09.2018 @ Drupal Europe, Darmstadt, Germany
Balázs Tatár
Crash Course to SQL in PHP
Crash Course to SQL in PHP
webhostingguy
Exemple de création de base
Exemple de création de base
Saber LAJILI
Php update and delet operation
Php update and delet operation
syeda zoya mehdi
Add edit delete in Codeigniter in PHP
Add edit delete in Codeigniter in PHP
Vineet Kumar Saini
What's hot
(20)
Borrados
Borrados
Facebook
Facebook
画像Hacks
画像Hacks
Php if
Php if
21. CodeIgniter search
21. CodeIgniter search
Migrare da symfony 1 a Symfony2
Migrare da symfony 1 a Symfony2
Open Selector
Open Selector
Daily notes
Daily notes
linieaire regressie
linieaire regressie
Mootools selectors
Mootools selectors
Zf Zend Db by aida
Zf Zend Db by aida
PhoneGap: Local Storage
PhoneGap: Local Storage
16. CodeIgniter stergerea inregistrarilor
16. CodeIgniter stergerea inregistrarilor
Coding website
Coding website
WordCamp Montreal 2015: Combining Custom Post Types, Fields, and Meta Boxes t...
WordCamp Montreal 2015: Combining Custom Post Types, Fields, and Meta Boxes t...
Let's write secure Drupal code! - 13.09.2018 @ Drupal Europe, Darmstadt, Germany
Let's write secure Drupal code! - 13.09.2018 @ Drupal Europe, Darmstadt, Germany
Crash Course to SQL in PHP
Crash Course to SQL in PHP
Exemple de création de base
Exemple de création de base
Php update and delet operation
Php update and delet operation
Add edit delete in Codeigniter in PHP
Add edit delete in Codeigniter in PHP
Similar to 12. edit record
Database Design Patterns
Database Design Patterns
Hugo Hamon
Symfony CoP: Form component
Symfony CoP: Form component
Samuel ROZE
Code moi une RH! (PHP tour 2017)
Code moi une RH! (PHP tour 2017)
Arnaud Langlade
Bacbkone js
Bacbkone js
Артём Курапов
Moving a high traffic ZF1 Enterprise Application to SF2 - Lessons learned
Moving a high traffic ZF1 Enterprise Application to SF2 - Lessons learned
Baldur Rensch
Crafting beautiful software
Crafting beautiful software
Jorn Oomen
Decoupling the Ulabox.com monolith. From CRUD to DDD
Decoupling the Ulabox.com monolith. From CRUD to DDD
Aleix Vergés
7. copy1
7. copy1
Razvan Raducanu, PhD
The Art of Transduction
The Art of Transduction
David Stockton
Adding Dependency Injection to Legacy Applications
Adding Dependency Injection to Legacy Applications
Sam Hennessy
Min-Maxing Software Costs
Min-Maxing Software Costs
Konstantin Kudryashov
WordCamp Denver 2012 - Custom Meta Boxes
WordCamp Denver 2012 - Custom Meta Boxes
Jeremy Green
Modern JavaScript Engine Performance
Modern JavaScript Engine Performance
Catalin Dumitru
Command Bus To Awesome Town
Command Bus To Awesome Town
Ross Tuck
Introduction to Zend Framework web services
Introduction to Zend Framework web services
Michelangelo van Dam
Drupal Development (Part 2)
Drupal Development (Part 2)
Jeff Eaton
Database api
Database api
InternetDevels
Silex meets SOAP & REST
Silex meets SOAP & REST
Hugo Hamon
laravel tricks in 50minutes
laravel tricks in 50minutes
Barang CK
50 Laravel Tricks in 50 Minutes
50 Laravel Tricks in 50 Minutes
Azim Kurt
Similar to 12. edit record
(20)
Database Design Patterns
Database Design Patterns
Symfony CoP: Form component
Symfony CoP: Form component
Code moi une RH! (PHP tour 2017)
Code moi une RH! (PHP tour 2017)
Bacbkone js
Bacbkone js
Moving a high traffic ZF1 Enterprise Application to SF2 - Lessons learned
Moving a high traffic ZF1 Enterprise Application to SF2 - Lessons learned
Crafting beautiful software
Crafting beautiful software
Decoupling the Ulabox.com monolith. From CRUD to DDD
Decoupling the Ulabox.com monolith. From CRUD to DDD
7. copy1
7. copy1
The Art of Transduction
The Art of Transduction
Adding Dependency Injection to Legacy Applications
Adding Dependency Injection to Legacy Applications
Min-Maxing Software Costs
Min-Maxing Software Costs
WordCamp Denver 2012 - Custom Meta Boxes
WordCamp Denver 2012 - Custom Meta Boxes
Modern JavaScript Engine Performance
Modern JavaScript Engine Performance
Command Bus To Awesome Town
Command Bus To Awesome Town
Introduction to Zend Framework web services
Introduction to Zend Framework web services
Drupal Development (Part 2)
Drupal Development (Part 2)
Database api
Database api
Silex meets SOAP & REST
Silex meets SOAP & REST
laravel tricks in 50minutes
laravel tricks in 50minutes
50 Laravel Tricks in 50 Minutes
50 Laravel Tricks in 50 Minutes
More from Razvan Raducanu, PhD
9. add new record
9. add new record
Razvan Raducanu, PhD
6. hello popescu 2
6. hello popescu 2
Razvan Raducanu, PhD
5. hello popescu
5. hello popescu
Razvan Raducanu, PhD
4. forme in zend framework 3
4. forme in zend framework 3
Razvan Raducanu, PhD
3. trimiterea datelor la vederi
3. trimiterea datelor la vederi
Razvan Raducanu, PhD
2.routing in zend framework 3
2.routing in zend framework 3
Razvan Raducanu, PhD
1. zend framework intro
1. zend framework intro
Razvan Raducanu, PhD
18. images in symfony 4
18. images in symfony 4
Razvan Raducanu, PhD
17. delete data
17. delete data
Razvan Raducanu, PhD
16. edit data
16. edit data
Razvan Raducanu, PhD
15. view single data
15. view single data
Razvan Raducanu, PhD
14. add data in symfony4
14. add data in symfony4
Razvan Raducanu, PhD
13. view data
13. view data
Razvan Raducanu, PhD
12.doctrine view data
12.doctrine view data
Razvan Raducanu, PhD
11. move in Symfony 4
11. move in Symfony 4
Razvan Raducanu, PhD
10. add in Symfony 4
10. add in Symfony 4
Razvan Raducanu, PhD
9. lower in Symfony 4
9. lower in Symfony 4
Razvan Raducanu, PhD
8. radio1 in Symfony 4
8. radio1 in Symfony 4
Razvan Raducanu, PhD
7. copy2 in Symfony 4
7. copy2 in Symfony 4
Razvan Raducanu, PhD
6.copy text
6.copy text
Razvan Raducanu, PhD
More from Razvan Raducanu, PhD
(20)
9. add new record
9. add new record
6. hello popescu 2
6. hello popescu 2
5. hello popescu
5. hello popescu
4. forme in zend framework 3
4. forme in zend framework 3
3. trimiterea datelor la vederi
3. trimiterea datelor la vederi
2.routing in zend framework 3
2.routing in zend framework 3
1. zend framework intro
1. zend framework intro
18. images in symfony 4
18. images in symfony 4
17. delete data
17. delete data
16. edit data
16. edit data
15. view single data
15. view single data
14. add data in symfony4
14. add data in symfony4
13. view data
13. view data
12.doctrine view data
12.doctrine view data
11. move in Symfony 4
11. move in Symfony 4
10. add in Symfony 4
10. add in Symfony 4
9. lower in Symfony 4
9. lower in Symfony 4
8. radio1 in Symfony 4
8. radio1 in Symfony 4
7. copy2 in Symfony 4
7. copy2 in Symfony 4
6.copy text
6.copy text
Recently uploaded
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
Poh-Sun Goh
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
Mebane Rash
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
Ramakrishna Reddy Bijjam
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
David Douglas School District
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
Amanpreet Kaur
microwave assisted reaction. General introduction
microwave assisted reaction. General introduction
Maksud Ahmed
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
Association for Project Management
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
camerronhm
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
TechSoup
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
Amita Gupta
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
christianmathematics
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
Celine George
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
Admir Softic
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
Jisc
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
Sherif Taha
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
TechSoup
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
dhanalakshmis0310
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
Recently uploaded
(20)
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
microwave assisted reaction. General introduction
microwave assisted reaction. General introduction
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
12. edit record
1.
Edit record
2.
IndexController public function editAction() { $id=(int)$this->params()->fromRoute('id',0); if($id==0){ exit('invalid
id'); } $flower=$this->table->getFlower($id); $form=new DataFormMyForm(); $form->bind($flower); $request=$this->getRequest(); if(!$request->isPost()) { return new ViewModel(['form'=>$form,'id'=>$id]); } $form->setData($request->getPost()); if(!$form->isValid()){ exit('not valid'); } $this->table->saveFlower($flower); $this->redirect()->toRoute('data',['action'=>'index']); }
3.
view/data/index/edit.phtml <h1>Edit</h1> <?php $form->setAttribute('action',$this->url('data',['action'=>'edit','id'=>$id])); $form->prepare(); echo $this->form()->openTag($form); echo $this->formHidden($form->get('id')); echo
$this->formRow($form->get('nume')); echo "<br/><br/>"; echo $this->formRow($form->get('culoare')); echo "<br/><br/>"; echo $this->formRow($form->get('marime')); echo "<br/><br/>"; echo $this->formRow($form->get('pret')); echo "<br/><br/>"; echo $this->formSubmit($form->get('submit')); echo $this->form()->closeTag();