osherdo Posted January 18, 2016 Share Posted January 18, 2016 (edited) I am trying to pick activityType and show the value in an array that looks like this: http://4.1m.yt/ukCLELP.png I want the activityType value to be an actual option like: option1,option2 etc.. But it throws an error instead (when trying to change values of it): ErrorException in c3b8369e5906a262c6e3760a4e5a65e9 line 35: Use of undefined constant Aerobics - assumed 'Aerobics' (View: /var/www/L53/resources/views/dashboard.blade.php) here's my relevant view code snippet: ) What do you expect from this app to help you? <br><br> (You can always change this later) <br><br>  {!! Form::checkbox('expectations','New anerobic routines'); !!} Find new anerobic routines <br>  {!! Form::checkbox('expectations','New aerobic routines'); !!} Find new aerobic routines <br>  {!! Form::checkbox('expectations','Follow'); !!} Follow other users to get inspired <br> <br><br> Thanks! Edited January 18, 2016 by osherdo Quote Link to comment https://forums.phpfreaks.com/topic/300514-problems-with-insert-query-laravel-51/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.