Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $text = $_REQUEST["enable"];
- $description = 'Debited For Service';
- foreach($text as $data)
- {
- foreach($check as $data1)
- {
- $insert="INSERT INTO `wallet_transaction`(`wallet_id`, `debit_amount`, `description`) VALUES ('$esc_id', '$data1', '$data', '$description')";
- mysql_query($insert);
- }
- }
- INSERT INTO `wallet_transaction`(`wallet_id`, `debit_amount`, `description`) VALUES ('2', '200', 'Debited For Service')
- INSERT INTO `wallet_transaction`(`wallet_id`, `debit_amount`, `description`) VALUES ('3', '100', 'Debited For Service')
- INSERT INTO `wallet_transaction`(`wallet_id`, `debit_amount`, `description`) VALUES ('2', '200', 'Debited For Service')
- INSERT INTO `wallet_transaction`(`wallet_id`, `debit_amount`, `description`) VALUES ('3', '100', 'Debited For Service')
- foreach ($text as $i => $data) {
- $data1 = $check[$i];
- $insert="INSERT INTO `wallet_transaction`(`wallet_id`, `debit_amount`, `description`) VALUES ('$esc_id', '$data1', '$data', '$description')";
- mysql_query($insert);
- }
- $text = $_REQUEST["enable"];
- $description = 'Debited For Service';
- foreach($text as $data)
- {
- foreach($check as $data1)
- {
- $inData = $data;
- }
- $insert="INSERT INTO `wallet_transaction`(`wallet_id`, `debit_amount`, `description`) VALUES ('$esc_id', '$data1', '$inData', '$description')";
- mysql_query($insert);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement