Good evening dear everyone; I am developing a web application connected to sql server. In local (WAMP PHP7.3, SQL Server and Windows 10) information retrieved the server sql bd are normally displayed, as shown in the screenshot below.
But not in production. In production I use PHP 7.3, Apache2.4, Laravel 5 and Sql server
@extends('layouts.app')
@section('content')
<br>
<h1 class="text-center text-white" style="background-color: #ffbb33">Repertoire des procédures de travail</h1>
<br>
<div class="form-group mb-2">
<form action="" method="post">
<div class="input-group">
<h2 class="label label-default ">Choisir un service   </h2>
<select name="services" id="services" class="form-control col-md-4" >
@foreach($donnees as $datas)
<option value=""></option>
@endforeach
</select>
<button type="submit" class="btn btn-success ">Recherche</button>
</div>
</form>
</div>
@if(isset($procedures))
@if(count($procedures)>=1)
<table border="1" class="table table-striped" >
<thead class="p-3 mb-2 bg-primary text-white" >
<tr>
<th scope="col">Activités</th>
<th scope="col">Procedures</th>
</tr>
</thead>
<tbody>
@foreach($procedures as $data)
<tr>
<td></td>
<td><a href=""> </a></td>
</tr>
@endforeach
</tbody>
</table>
@else
<p>Pas de procédue trouvée!</p>
@endif
@endif
@endsection
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire