Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [ZendFramework]Insert i zwracania id
Manif
post 13.06.2010, 10:28:13
Post #1





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 10.06.2010

Ostrzeżenie: (0%)
-----


Witam

Czy jest jakaś prosta możliwość dostania id (auto increament) dodawanego wiersza np przez taką funkcje:

  1. public function insertCount($count, $user_id)
  2. {
  3.  
  4. $data = array(
  5. 'count' => $count,
  6. 'user_id' => $user_id
  7.  
  8. );
  9.  
  10. $insert = $this->insert($data);
  11. }
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 20.06.2025 - 10:45