Zen Cart Logo
Forums / General Questions / How to write debug messages on top of page?

How to write debug messages on top of page?

Locked

Views: 1,790

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
11 May 2006, 3:37 PM
#1
harmeet avatar

harmeet

New Zenner

Join Date:
May 2006
Posts:
30
Plugin Contributions:
0

How to write debug messages on top of page?

Hi

I am making some modifications to some pages and need to write some debug messages on top of the page. Is there any API available in Zen Cart? If not, then what's the best way to do it?

Thanks

11 May 2006, 4:09 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How to write debug messages on top of page?

<?php echo 'I SEE THIS ' . put_debug_stuff here . '<br>'; ?>

php echos that do not have a home float to the top of the area that they are located ...

I like to make them obvious with the 'I SEE THIS' and the break on the end ...

11 May 2006, 4:31 PM
#3
harmeet avatar

harmeet

New Zenner

Join Date:
May 2006
Posts:
30
Plugin Contributions:
0

Re: How to write debug messages on top of page?

You're the man Ajeh!

12 May 2006, 4:30 AM
#4
anuragji avatar

anuragji

New Zenner

Join Date:
Apr 2005
Posts:
17
Plugin Contributions:
0

Re: How to write debug messages on top of page?

Ahemm, I think that would be

You're the woman Ajeh!

:wink2:

Linda McGrath