Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [ZendFramework]Insert i zwracania id
Manif
post
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
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 24.08.2025 - 15:43