Re: array problem + humor (all those with joke allergies beware)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jochem's site:

<< snip >>
http://iamjochem.com/mariecke/index.php

Mariecke's daily ramblings (almost) in dutch & english... this page is
using output from a drupal system.
If nothing else they have a nice logo. ;)


Warning: main(./../blog/parse.php): failed to open stream: No such file
or directory in /home/sites/com/moulin/iamjochem/www/mariecke/blog.php
on line 24

Warning: main(): Failed opening './../blog/parse.php' for inclusion
(include_path='.:/usr/share/php4:/usr/share/php') in
/home/sites/com/moulin/iamjochem/www/mariecke/blog.php on line 24

Fatal error: Call to undefined function: parse_feed() in
/home/sites/com/moulin/iamjochem/www/mariecke/blog.php on line 25

< // snip >>

Perhaps you should take some of your own *advice*... ???

jochem@xxxxxxxxxxxxx > /dev/null

On Sat, 2006-04-22 at 09:48, Jochem Maas wrote:
> suresh kumar wrote:
> >  sorry.earlier i mistyped some values. 
> >    
> >   I am facing one project in my project .
> >    
> >   this is my  code:
> >    
> >   a=array(0=>10,1=>10,2=>40,3=>30,4=>30,5=>10);
> >   b=array();
> >   b=array_unique($a);
> >   print_r($b); 
> >   o/p  getting from above code is  b[0]=10,b[2]=40,b[3]=30,b[5]=10;
> 
> the OUTPUT is not what you say it is - why don't you take 5 seconds
> to cut and paste the *actual* output of print_r() ???
> 
> in fact if your going to send some code - THEN SEND SOME CODE and
> not some hastily typed psuedo code that doesn't run (notice the missing
> dollar signs in front variaous variables??)
> 
> >    
> >   but i want the o/p be b[0]=10,b[1]=40,b[2]=30,b[3]=10;
> >    
> >   i searched php.net .i am not able to fine any solution.i am breaking 
> > my head for last  5 hours.
> 
> you may have searched but you didn't read very far - in five hours it's
> probably possible to read every about arrays on php.net; but anyway read the following
> 2 pages over and over until you fully understand them - understanding php's
> array datatype is practically the foundation to getting anywhere with php:
> 
> http://php.net/manual/en/language.types.array.php
> http://php.net/manual/en/function.array-values.php
> 
> > i am waiting reply from any one
> 
> tell every one here that your waiting does come accross very well -
> I'd stop saying it if I we're you.
> 
> get the feeling I'm picking on you? well your absolutely right,
> you non-responding, dumb-question-asking, lack-of-problem-solving-initiative
> oddball. Anytime you come to this list I'm going to beat programming ethic
> into you until you 'get it' - either you'll end up looking like something
> that resembles a real coder OR I'll end up start a inter-continental racewar -
> lets see how it pans out.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux