hi, \n i use save() function for saving detail of table and this is work when i want change default table in Task (class) extends of Eloquent that's not work !! my code this :
<?php class Task extends Eloquent { public $table = 'tbl_name'; } ?>IanSirkit said:
Do you get an error?
no! that page don't show.. Whoops, looks like something went wrong.
Try changing the $table property to protected.
Also, to show errors configure your environment so it runs on 'local' in your dev machine.
http://laravel.com/docs/4.2/configuration#environment-configuration
Debug mode should be enabled by default in app/config/local/app.php.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community