Question: Iam using below xpath:

```
//label[text()='First Name']/Parent::div/following-sibling::div/div/input[@disabled='disabled']

```

But showing an error as:

> 
> SyntaxError: Failed to execute 'evaluate' on 'Document': The string
>  '//label[text()='First
>  Name']/Parent::div/following-sibling::div/div/input[@disabled='disabled']'
>  is not a valid XPath expression.
> 
> 
>

Answer: 
Pass array as second argument to `view()`:

```
return view('showvalues', ['name'=>$name, 'address'=>$address]);

```

Btw, did you try to open [Laravel's manual](https://laravel.com/docs/master/blade)?
what about

```
return view('showvalues')->withName($name);

```

Or

```
return view('showvalues')->with(['name'=>$name]);

```