Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 07 May 2010, 20:32
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
problems with array_search()

Ok this is driving me nuts... all common sense tells me this should work however it does not.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

By all accounts, 'Tiger' should be replaced with 'TigerXXX'... shouldn't it? This is what I am expecting but it's not working out. Seems that array_search() is returning false.

Anyone know why?
__________________
Please feel free to PM me about custom work, installations, and upgrades!

Eclipse Records - Streetcult Street Team
Reply With Quote
  #2  
Old 13 May 2010, 14:52
Deceptor's Avatar
Deceptor Deceptor is offline
 
Join Date: Dec 2008
You're array isn't exactly a valid array, use:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #3  
Old 13 May 2010, 15:35
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
My bad I didn't properly write the array. It is actually Valid as you show since it's created by using explode().
__________________
Please feel free to PM me about custom work, installations, and upgrades!

Eclipse Records - Streetcult Street Team
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:20.

Layout Options | Width: Wide Color: