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

Home » Imported messages » comp.lang.php » array how is done
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: array how is done [message #183684 is a reply to message #183678] Sat, 09 November 2013 13:59 Go to previous message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma:
Senior Member
nawfer wrote:

> if I have this code
>
> foreach($models as $md)
> {$articles[] = array($md->id,$md->name);}
>
> with an example (really value) can explain how can to be the $models and
> how is $articles[]

<http://php.net/print_r>
<http://php.net/var_dump>
<http://www.catb.org/~esr/faqs/smart-questions.html>


PointedEars
--
Sometimes, what you learn is wrong. If those wrong ideas are close to the
root of the knowledge tree you build on a particular subject, pruning the
bad branches can sometimes cause the whole tree to collapse.
-- Mike Duffy in cljs, <news:Xns9FB6521286DB8invalidcom(at)94(dot)75(dot)214(dot)39>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: $dom->loadHTMLFile() error
Next Topic: IT company looking for skilled resources
Goto Forum:
  

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

Current Time: Sun Dec 01 03:55:44 GMT 2024

Total time taken to generate the page: 0.04303 seconds