Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 06 Aug 2016, 12:42
iref2010 iref2010 is offline
Join Date: Jun 2010
Log file location vB5

Hey Guys,

I wish to print some variables in function for debugging purpose. I tried var_dump() but I don't understand where it is printing. My debug mode is also On.
Reply With Quote
Old 06 Aug 2016, 14:06
Replicant's Avatar
Replicant Replicant is offline
Join Date: Sep 2014
Real name: Mel
var_dump() will print to the screen. Usually, right at the top when you load the page. Using print_r() may give you better results as it is more readable.
VB5 mods - RepliClock VB4 mods - Member Online Status
Reply With Quote
Old 07 Aug 2016, 14:11
Paul M's Avatar
Paul M Paul M is offline
Join Date: Sep 2004
Real name: Paul M

should work.


Will print the information and carry on running the code.

I use both of these all the time.
Former Staff Member

Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
Old 08 Aug 2016, 11:12
iref2010 iref2010 is offline
Join Date: Jun 2010
Thank you!

It worked.
Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove Location display if author has no location JJR512 vBulletin 2.x Full Releases 16 28 Apr 2003 09:19


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

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

New To Site? Need Help?

All times are GMT. The time now is 02:31.

Layout Options | Width: Wide Color: