Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function update_client($data)
- {
- $id_arr = explode(",",$data["params"]["ID"]);
- $name_arr = explode(",",$data["params"]["Name"]);
- $title_arr = explode(",",$data["params"]["Title"]);
- for($i=0; $i<count($id_arr); $i++)
- {
- $id = $id_arr[$i];
- $name = $name_arr[$i];
- $title = $title_arr[$i];
- // pass to insert / update query to set $id,$name,$title
- }
- }
Add Comment
Please, Sign In to add comment