Question: According to the answers on this [stackoverflow post](https://stackoverflow.com/questions/972511/view-array-in-visual-studio-debugger), in Visual Studio, the debugger watch window can show multiple values of an array by using this syntax: `arrName,20`.

Is there a similar way to easily show multiple values from a pointer and the following memory addresses in the Visual Studio Code debugger?

As an example, here is the struct I'm working with:

```
struct student *students = malloc(NUM_STUDENTS * sizeof *students);

```

I can show individual values using `students[idx]`, but trying to use the given Visual Studio syntax doesn't work.

[![enter image description here](https://i.stack.imgur.com/4ICSR.png)](https://i.stack.imgur.com/4ICSR.png)

Answer: 
Try :

```
@foreach($postqs['image'] as $imagePath)
    <img src="/image/{{ $imagePath }}" 
        style="width:150px; height:150px;"> 
@endforeach
</td>

```
First of all you should correct this line:

```
protected $fillable = [''image']; // ['image'] and not [''image']

```

`htmlspecialchars():` I always get this error when the variable is null. 

A simple solution would be wrap your html with: 

```
@if($yourVar)
@endif

```

You can also dump your variable to show how the structure is.

Good luck.