Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

User Input Tag Cloud

user input

  • Please log in to reply
8 replies to this topic

#1 webdew

webdew

    CC Lurker

  • Just Joined
  • Pip
  • 5 posts

Posted 20 May 2009 - 08:14 PM

DONE

Edited by webdew, 21 May 2009 - 01:03 PM.

  • 0

#2 BlaineSch

BlaineSch

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1559 posts

Posted 20 May 2009 - 08:49 PM

if(strlen(trim($_POST['text']))==0) { 

  • 0

#3 webdew

webdew

    CC Lurker

  • Just Joined
  • Pip
  • 5 posts

Posted 21 May 2009 - 12:14 AM

i get the following errors now.

Warning: arsort() expects parameter 1 to be array, null given in C:\server\xampp\htdocs\tags\index.php on line 51

Warning: array_values() [function.array-values]: The argument should be an array in C:\server\xampp\htdocs\tags\index.php on line 57

Warning: Wrong parameter count for max() in C:\server\xampp\htdocs\tags\index.php on line 57

Warning: array_values() [function.array-values]: The argument should be an array in C:\server\xampp\htdocs\tags\index.php on line 58

Warning: Wrong parameter count for min() in C:\server\xampp\htdocs\tags\index.php on line 58

Warning: Invalid argument supplied for foreach() in C:\server\xampp\htdocs\tags\index.php on line 70
  • 0

#4 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 21 May 2009 - 03:09 AM

You cannot sort "nothing". You need to use Blaine's test to avoid attempting to sort a null list.
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#5 webdew

webdew

    CC Lurker

  • Just Joined
  • Pip
  • 5 posts

Posted 21 May 2009 - 06:21 AM

DONE

Edited by webdew, 21 May 2009 - 01:03 PM.
Please use code tags when you're posting your codes!

  • 0

#6 BlaineSch

BlaineSch

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1559 posts

Posted 21 May 2009 - 07:34 AM

It means you probably got the wrong name for "TagCloud" check the file and see if its right or not.
  • 0

#7 webdew

webdew

    CC Lurker

  • Just Joined
  • Pip
  • 5 posts

Posted 21 May 2009 - 07:50 AM

DONE

Edited by webdew, 21 May 2009 - 01:02 PM.

  • 0

#8 webdew

webdew

    CC Lurker

  • Just Joined
  • Pip
  • 5 posts

Posted 21 May 2009 - 10:43 AM

DONE

Edited by webdew, 21 May 2009 - 01:01 PM.

  • 0

#9 Orjan

Orjan

    CC Mentor

  • Moderator
  • 2918 posts
  • Location:Karlstad, Sweden
  • Programming Language:C, Java, C++, C#, PHP, JavaScript, Pascal
  • Learning:Java, C#

Posted 21 May 2009 - 02:10 PM

isn't it kinda strange to delete the questions when you get them answered? how would others get any help on the same matters then?
  • 0

I'm a System developer at XLENT Consultant Group mainly working with SugarCRM.
Please DO NOT send mail or PM to me with programming questions, post them in the appropriate forum instead, where I and others can answer you.






Also tagged with one or more of these keywords: user input

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download