--- Stevie D Peele <[EMAIL PROTECTED]> wrote:
> Okay, I took all the extra spaces out of my code, So it is now
> 151 lines.

I appreciate you trying to trim down your code. However, it isn't the
whitespace that is superfluous. You now have 151 lines that are mostly
repeating the same basic assignment; it's the same problem. It makes it look as
if you have not put forth any effort to try and solve this problem.

Remember that the people who answer questions on this list do so voluntarily
and can't afford to waste a lot of time searching through all of your code to
find a missing semicolon or something of the like. As I mentioned earlier, this
list is not the place to have someone debug your code.

So, when you have a problem with your code, you will find people much more
willing to help if you can reproduce the problem in a very small sample. In
many cases, you may also discover your own problem and not even need to ask.

> I have attached that code, instead of posting it in my mail.

I generally delete anything posted to this list with an attachment. I'm sure
many people do. Also, because you quoted the entire message from before, you
have all of your 200 lines of code in the email, and then you attach the whole
thing again. That's even worse.

> Warning: Unable to access /includes/home.html in
> /usr/local/psa/home/vhosts/net-riches.com/httpdocs/includes/category.php
> on line 150
> 
> Warning: Failed opening '/includes/home.html' for inclusion
> (include_path='.:/usr/local/psa/apache/lib/php') in
> /usr/local/psa/home/vhosts/net-riches.com/httpdocs/includes/category.php
> on line 150

I bet you could reproduce this problem with the following code:

include('/includes/home.html');

That 1 line demonstrates the same problem that your 151 lines do. Have you
looked to see if /includes/home.html exists?

Hope that helps.

Chris

=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to