Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
projet_nf17_p19_tdg1_groupe2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gaetan Carabetta
projet_nf17_p19_tdg1_groupe2
Commits
3e65068d
Commit
3e65068d
authored
Jun 19, 2019
by
Oswaldo Aldair Alanis Mayorga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace voirClients.php
parent
4d6b3d32
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
application/voirClients.php
application/voirClients.php
+3
-5
No files found.
application/voirClients.php
View file @
3e65068d
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
<button
onclick=
"location.href='ajouterClient.html'"
>
Add
</button>
<button
onclick=
"location.href='ajouterClient.html'"
>
Add
</button>
<table
border =
"1"
>
<table
border =
"1"
>
<tr>
<tr>
<th>
id
</th>
<th>
nom
</th>
<th>
nom
</th>
<th>
prenom
</th>
<th>
prenom
</th>
<th>
ddn
</th>
<th>
ddn
</th>
...
@@ -17,15 +16,14 @@
...
@@ -17,15 +16,14 @@
$vData
=
'dbbdd0p020'
;
$vData
=
'dbbdd0p020'
;
$vUser
=
'bdd0p020'
;
$vUser
=
'bdd0p020'
;
$vPass
=
'uLd6pAgM'
;
$vPass
=
'uLd6pAgM'
;
$vConn
=
new
PDO
(
"pgsql:host=
$vHost
;port=
$vPort
;dbname=
$
c
Data
"
,
$vUser
,
$vPass
);
$vConn
=
new
PDO
(
"pgsql:host=
$vHost
;port=
$vPort
;dbname=
$
v
Data
"
,
$vUser
,
$vPass
);
$vSql
=
'SELECT * FROM client'
;
$vSql
=
'SELECT * FROM client'
;
$vSt
=
$vConn
->
prepare
(
$vSql
);
$vSt
=
$vConn
->
prepare
(
$vSql
);
$vSt
->
execute
();
$vSt
->
execute
();
while
(
$vResult
=
$vSt
->
fetch
(
PDO
::
FETCH_ASSOC
))
while
(
$vResult
=
$vSt
->
fetch
(
PDO
::
FETCH_ASSOC
))
{
{
echo
'<tr>'
;
echo
'<tr>'
;
echo
"<td>
$vResult[idClient]
</td>"
;
echo
"<td>
$vResult[nom]
</td>"
;
echo
"<td>
$vResult[nom]
</td>"
;
echo
"<td>
$vResult[prenom]
</td>"
;
echo
"<td>
$vResult[prenom]
</td>"
;
echo
"<td>
$vResult[ddn]
</td>"
;
echo
"<td>
$vResult[ddn]
</td>"
;
...
@@ -35,6 +33,6 @@
...
@@ -35,6 +33,6 @@
}
}
?>
?>
</table>
</table>
</body>
</body>
</html>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment