Affiliate Programs
 
Search affiliate programs for: 
Affiliate Categories
» Affiliate Networks
» Ad Networks
» 2 Tier Programs
» Pay Per Sale
» Pay Per Lead
» Residual Income
» Datafeeds
» Multi Tier Programs
» Business Opps
» Other Programs

Newsletter
Get newly added affiliate programs by email. Enter your email here:
Article Categories
» Affiliate Marketing
» Business
» Ecommerce
» Hosting
» Marketing
» Sales
» Web Designing
» Webmasters
» SEO & Promotion
» Working At Home
» Other Articles
» Affiliate Glossary


Go Back   AffiliateSeeking Forum > Website Creation, Design & Maintenance > Programming > PHP

PHP Discuss about your PHP scripting issues or help others with their PHP scripting problems.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-18-2009, 06:22 AM
steve.callen steve.callen is offline
Junior Member
 
Join Date: Feb 2009
Posts: 0
steve.callen is on a distinguished road
Default How do I return all the values in an array?

hi all,


How do I return all the values in an array? Please help me.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2009, 10:18 PM
troublescoot troublescoot is offline
Junior Member
 
Join Date: Feb 2009
Posts: 20
troublescoot is on a distinguished road
Quote:
Originally Posted by steve.callen View Post
hi all,


How do I return all the values in an array? Please help me.

Thanks
Depends on which language you're talking about, but if it's PHP, print_r() and var_dump() will do it for you-

Code:
<?php

$fruits = array('orange', 'banana', 'grape', 'lemon');

print_r( $fruits ); //or
var_dump( $fruits );

?>
Without more information, that's all I can do.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-07-2009, 12:06 PM
couponmeup couponmeup is offline
Junior Member
 
Join Date: Mar 2009
Posts: 20
couponmeup is on a distinguished road
Let me know what language and I'll give you a hand.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-18-2009, 08:11 AM
thegetpr thegetpr is offline
Member
 
Join Date: Jun 2009
Posts: 49
thegetpr is on a distinguished road
you can use print_r to get all results from an arrar coz print and echo will not work
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-27-2009, 07:47 PM
tanja tanja is offline
Senior Member
 
Join Date: Dec 2008
Posts: 1,666
tanja is on a distinguished road
Thanx 4 code dude, I solved lots of problems with values
__________________
wireless earpieces | designer clothes
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 10-14-2011, 08:51 AM
webmaster.kwd's Avatar
webmaster.kwd webmaster.kwd is offline
Junior Member
 
Join Date: Oct 2011
Location: Pune India
Posts: 1
webmaster.kwd is on a distinguished road
use explode function.It will return all array values in string.

Thanks & Regards,
[Url Removed]

Last edited by AffiliateSeeking : 10-14-2011 at 09:59 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 12-16-2011, 09:39 PM
hatnohat hatnohat is offline
Junior Member
 
Join Date: Dec 2011
Posts: 4
hatnohat is on a distinguished road
Hello, Were you able to get this issue solved ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:40 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0
© 2004-2011 AffiliateSeeking. All rights reserved.