how to insert,edit,delete in same page using php
chaitu11
0
Junior Poster
Recommended Answers
Jump to PostHere is a simple class that uses mysql to get you started. This was just showing you an example.. you would need to sanitize the data and do some validation checking.
class Crud { public function edit($data = array(), $row_id) { $query = mysql_query("UPDATE `table_name` SET field_name='{$data['value']}', …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.