BetaONE will rise again!


Reply
  #1  
Old 26th Jun 03, 05:38 PM
cappaberra
 
Posts: n/a
yea... generally a decent idea for the php code I've written is to have a $debug variable at the top of the file that you can toggle (1/0) depending on if you want to print/echo a bunch of other variables... so for example, my code is littered with statements like this:

if ($debug) echo ("var: " . $var . "\n");

you may throw in some formatting to make it look better and more readable, like i did above.... hope this helps, and in the future, documentation always helps debugging too.

Sorry for the lecture, but hope you get things working!!!

Have fun,
cappaberra
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Forum Jump


All times are GMT +1. The time now is 09:05 AM.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.