Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [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
SmokAnalog
post
Post #2





Grupa: Zarejestrowani
Postów: 1 707
Pomógł: 266
Dołączył: 3.07.2012
Skąd: Poznań

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


array_diff_assoc
Go to the top of the page
+Quote Post
--kamil_lk--
post
Post #3





Goście







SmokAnalog - dzięki, śmiga smile.gif
Go to the top of the page
+Quote Post

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 - 18:08