Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.post('/editStatusDetailsById',function(req,res){
- connection.query('SELECT id, statuscontent, statusbackground, enabledcomment, enabled, FIND_IN_SET(categories), languages from status WHERE id = ?',[req.body.id], function (error, results, fields) {
- if (error) throw error;
- res.send({
- 'status':'28',
- 'success': 'true',
- 'payload': results,
- 'message':'one language is edited'
- });
- });
- });
Add Comment
Please, Sign In to add comment