FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » part two same issue - unwanted empty values in array
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: part two same issue - unwanted empty values in array [message #185741 is a reply to message #185738] Mon, 05 May 2014 15:36 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 5/5/2014 11:04 AM, richard wrote:
> http://mroldies.net/radio/24hours3.php
>
> As you will see, at the bottom of the list I am left with the equal number
> of unassigned array values that now contain nothing.
> I don't even want that in the list.
> How do I eliminate them altogether?
>

Once again you didn't show your code, so it's impossible to tell.

You also have an invalid argument for foreach()...

With all of that, why aren't you using a database? You're going through
a whole lot of unnecessary work that the database can do for you.

--
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to join two arrays?
Next Topic: The goto statement in PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 11:44:35 GMT 2024

Total time taken to generate the page: 0.04159 seconds