Trying to pass variable from 1 Function to Another to Put in Array within same Model |
[eluser]jshultz[/eluser]
[quote author="don.phil" date="1274751324"]Can you post both functions again on pastebin or something[/quote] here you go: http://pastebin.com/juZqtmDJ
[eluser]vitoco[/eluser]
Code: function get_bus_id() { Code: ....
[eluser]D.Phil[/eluser]
Try this: http://pastebin.com/cdZP2tTp [quote author="jshultz" date="1274751570"][quote author="don.phil" date="1274751324"]Can you post both functions again on pastebin or something[/quote] here you go: http://pastebin.com/juZqtmDJ[/quote]
[eluser]jshultz[/eluser]
Ok, something happened, I don't know what but things are working: Array ( [id] => 5 ) Array ( [id] => 0 [photoname] => [thumb] => /home/welcomet/public_html/assets/images/gallery/thumbs/ATT650948.jpg [fullsize] => /home/welcomet/public_html/assets/images/gallery/ATT650948.jpg [busid] => 5 [userid] => 1 ) Can you explain to me how it works? I would like to be able to understand it better.
[eluser]jshultz[/eluser]
[quote author="vitoco" date="1274752517"]my code or don.phil code works ?? ![]() Yours, bro. Here's the complete working code: http://pastebin.com/UBZYR1DU
[eluser]jshultz[/eluser]
[quote author="vitoco" date="1274753427"]i've added some comments to the code http://pastebin.com/UBZYR1DU Saludos[/quote] Cool, thank you for your help! ![]() |
Welcome Guest, Not a member yet? Register Sign In |