Click here to Skip to main content
15,906,574 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: Radio Buttons Pin
thebiostyle30-Dec-09 13:59
thebiostyle30-Dec-09 13:59 
GeneralRe: Radio Buttons Pin
enhzflep31-Dec-09 7:04
enhzflep31-Dec-09 7:04 
GeneralRe: Radio Buttons Pin
thebiostyle31-Dec-09 7:13
thebiostyle31-Dec-09 7:13 
GeneralRe: Radio Buttons Pin
enhzflep31-Dec-09 13:05
enhzflep31-Dec-09 13:05 
GeneralRe: Radio Buttons Pin
thebiostyle31-Dec-09 18:13
thebiostyle31-Dec-09 18:13 
GeneralRe: Radio Buttons [modified] Pin
enhzflep31-Dec-09 19:41
enhzflep31-Dec-09 19:41 
GeneralRe: Radio Buttons Pin
thebiostyle31-Dec-09 21:44
thebiostyle31-Dec-09 21:44 
QuestionFind the differences betwween two arrays Pin
Marc Firth24-Dec-09 0:51
Marc Firth24-Dec-09 0:51 
Hi all,

I have a problem finding the differences between two arrays:

$first_array = array("a"=>"1", "b"=>"7", "c"=>"4", "d"=>"4");

$second_array = array("a"=>"1", "b"=>"10", "c"=>"10", "d"=>"4", "e"=>"7");


I'm trying to subtract the old array from the new one and find any new values. So the output should be:
$new_array = array("b"=>"3", "c"=>"6", "e"=>"7");


I tried using array_diff() and array_diff_assoc(). But they give me the wrong output. Any ideas?

Thanks.


AnswerRe: Find the differences betwween two arrays Pin
Luc Pattyn28-Dec-09 10:43
sitebuilderLuc Pattyn28-Dec-09 10:43 
QuestionHow to use postback in php Pin
sarang_k23-Dec-09 22:28
sarang_k23-Dec-09 22:28 
AnswerRe: How to use postback in php Pin
Marc Firth24-Dec-09 1:25
Marc Firth24-Dec-09 1:25 
Questionwarning message Pin
kamalesh574323-Dec-09 15:27
kamalesh574323-Dec-09 15:27 
AnswerRe: warning message Pin
Marc Firth24-Dec-09 1:27
Marc Firth24-Dec-09 1:27 
QuestionSTL vector trouble Pin
Daniel 'Tak' M.22-Dec-09 5:27
Daniel 'Tak' M.22-Dec-09 5:27 
Questionhelp with imap_search function Pin
cjoki21-Dec-09 7:08
cjoki21-Dec-09 7:08 
AnswerRe: help with imap_search function Pin
cjoki21-Dec-09 10:14
cjoki21-Dec-09 10:14 
QuestionPERL script help Pin
David Hoffman19-Dec-09 15:05
David Hoffman19-Dec-09 15:05 
AnswerRe: PERL script help Pin
David Hoffman19-Dec-09 21:45
David Hoffman19-Dec-09 21:45 
GeneralRe: PERL script help Pin
David Hoffman19-Dec-09 22:35
David Hoffman19-Dec-09 22:35 
GeneralRe: PERL script help Pin
Rob21-Dec-09 3:51
Rob21-Dec-09 3:51 
QuestionPHP script getting Gateway Timeout Error. Pin
LazyDragonfist19-Dec-09 8:09
LazyDragonfist19-Dec-09 8:09 
AnswerRe: PHP script getting Gateway Timeout Error. Pin
cjoki21-Dec-09 7:02
cjoki21-Dec-09 7:02 
QuestionHow Can I Start? Pin
code_breaker18-Dec-09 5:37
code_breaker18-Dec-09 5:37 
AnswerRe: How Can I Start? Pin
EliottA18-Dec-09 5:44
EliottA18-Dec-09 5:44 
GeneralRe: How Can I Start? Pin
code_breaker18-Dec-09 5:55
code_breaker18-Dec-09 5:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.