Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[CONTRIB] Debug array for osc


elari

Recommended Posts

when you have some problem with osc, the first need you have is to display value of a data or array...

 

with this package, just add

echo viewarray($myarray);

to show a small icon without changing to much the design of your page...

it will display all the value in a popup screen when you click on.

 

debug display is set in admin so that you can keep all debug in the script and just disable them from admin when everything is ok

 

this is based on script proposed by Mattice in tips & tricks area

 

download here

http://www.oscommerce.com/community/contributions,910

Link to comment
Share on other sites

  • 10 months later...
  • 2 years later...

Anyone tried using this contribution?

I guess maybe there's been a new MS release, and that's why,

but I can't seem to locate general.php file.

 

Copy these function at teh end in general.php

include('includes/functions/debug.php');

 

Help me out if anyone used this contribution.

Thanks in advance!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...