Jump to content

problems with insert query (Laravel 5.1)


osherdo

Recommended Posts

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>
 &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>
<br><br>

Thanks!

Edited by osherdo
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.