Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Route::get('/comment/{data}', function($data){
- if (Request::ajax()) {
- //echo $data; *i checked here echo prints the content of $data but i cant store it in database. i dont know why its not store by using below code plz help me to find error.
- $comm = new Data;
- $comm->details = Input::get('data');
- $comm->save();
- }
- });
- Route::post('/comment/{data}', function($data){
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement