![]() |
|
|||||||||
|
|||||||||
|
| Attention Visitor: |
| You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
||||||
| PHP DB Discutii despre lucrul cu baze de date in PHP. |
![]() |
|
|
Thread Tools | Moduri de afișare |
|
|
#1 |
|
8-Bit Member
Data înregistrării: 09.09.2006
Mesaje: 8
Rep Power: 6 ![]() |
Salut. imi spune-ti a rog si mie un script, care sa extraga, ultima valoare a unui tabel in baza de date?
|
|
|
|
| Sponsored Links |
|
|
#2 |
|
128-Bit Member
Data înregistrării: 09.09.2005
Locație: Iasi
Vârsta: 22
Mesaje: 538
Rep Power: 7 ![]() |
http://www.zend.com/manual/function.mysql-num-rows.php
cu asta numeri cate randuri ai; apoi afisezi result`ul de pe randul respectiv
|
|
|
|
|
|
#3 |
|
32-Bit Member
|
Cod:
$cerereSQL = 'SELECT * FROM tabel ORDER by id desc limit 1' |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Moduri de afișare | |
|
|