Obama '08

               
   

Go Back   Mike Simonds > Salesforce > PHP Snippets

This is a discussion on Snippet for php function print_r within the PHP Snippets forums, part of the Salesforce category; Just wanted to get something into this forum and I use this

Reply
 
LinkBack Thread Tools Rate Thread
  #1  
Old 03-28-2008, 01:29 PM
Administrator
 
Join Date: May 2007
Posts: 248
Send a message via AIM to mike Send a message via MSN to mike Send a message via Yahoo to mike Send a message via Skype™ to mike
Snippet for php function print_r

Just wanted to get something into this forum and I use this quite a bit:


PHP Code:
echo '<pre>' print_r($var,true) . '</pre>'

this is a great way to echo or print out php array values from CSV, a Database, or some other array

change $var to whatever your variable is
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Tags
php debugging snippet, php snippets, print_r, troubleshooting

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump



Powered by vBulletin


SEO by vBSEO 3.2.0 RC8 ©2008, Crawlability, Inc.

1 2 3 4 5