Jump to content

problems with insert query (Laravel 5.1)


Recommended Posts

I am trying to pick activityType and show the value in an array that looks like this:




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>
 &nbsp{!! Form::checkbox('expectations','New anerobic routines'); !!} Find new anerobic routines <br>
 &nbsp{!! Form::checkbox('expectations','New aerobic routines'); !!} Find new aerobic routines <br>
 &nbsp{!! Form::checkbox('expectations','Follow'); !!} Follow other users to get inspired <br>


Link to post
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.