Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Różnice tablic
--kamil_lk--
post
Post #1





Goście







Cześć.
W jaki sposób mogę sobie sprawdzić czego brakuje mi w drugiej tablicy.
Moja tablica wygląda następująco:

Tablica A
  1.  
  2. (
  3. [0] => Array
  4. (
  5. [Field] => id_user_program
  6. [Type] => bigint(20)
  7. [Null] => NO
  8. [Key] => PRI
  9. [Default] =>
  10. [Extra] => auto_increment
  11. )
  12.  
  13. [1] => Array
  14. (
  15. [Field] => id_user
  16. [Type] => bigint(20)
  17. [Null] => NO
  18. [Key] =>
  19. [Default] =>
  20. [Extra] =>
  21. )
  22.  
  23. [2] => Array
  24. (
  25. [Field] => id_program
  26. [Type] => bigint(20)
  27. [Null] => NO
  28. [Key] =>
  29. [Default] =>
  30. [Extra] =>
  31. )
  32.  
  33. )

Tablica B
  1. (
  2. [0] => Array
  3. (
  4. [Field] => id_user_program
  5. [Type] => bigint(20)
  6. [Null] => NO
  7. [Key] => PRI
  8. [Default] =>
  9. [Extra] => auto_increment
  10. )
  11.  
  12. [1] => Array
  13. (
  14. [Field] => id_user
  15. [Type] => bigint(20)
  16. [Null] => NO
  17. [Key] =>
  18. [Default] =>
  19. [Extra] =>
  20. )
  21.  
  22. )
Go to the top of the page
+Quote Post

Posty w temacie
- -kamil_lk-   [PHP]Różnice tablic   12.02.2014, 22:27:16
- - SmokAnalog   array_diff_assoc   12.02.2014, 22:33:37
- - -kamil_lk-   SmokAnalog - dzięki, śmiga   12.02.2014, 22:48:32


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 Aktualny czas: 20.08.2025 - 09:11