Script Error Plz Help !!!!!!!!!!!!!!!!!!!!!!!!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mohit1shukla
Forum Newbie
Posts: 1
Joined: Tue Mar 23, 2010 2:46 am

Script Error Plz Help !!!!!!!!!!!!!!!!!!!!!!!!

Post by mohit1shukla »

Warning: Division by zero in /home/vol2/byethost33.com/b33_5219498/futurez.co.cc/htdocs/engine/modules/news_r.php on line 33
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Script Error Plz Help !!!!!!!!!!!!!!!!!!!!!!!!

Post by Christopher »

According to the error message: You have a division operation on line 33 of the file news_r.php and the denominator is zero -- which is not allowed in division.

PS - post with titles that do not describe the problem and that have lots of exclamation marks do not get much response. ;)
(#10850)
User avatar
Bill H
DevNet Resident
Posts: 1136
Joined: Sat Jun 01, 2002 10:16 am
Location: San Diego CA
Contact:

Re: Script Error Plz Help !!!!!!!!!!!!!!!!!!!!!!!!

Post by Bill H »

Nor, probably, do posts in which the post itself doesn't describe the problem (merely copying the error message and not the line which created the error, or any code at all), and which are posted in the wrong discussion.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Script Error Plz Help !!!!!!!!!!!!!!!!!!!!!!!!

Post by pickle »

[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:1. Select the correct board for your query. Take some time to read the guidelines in the sticky topic.
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply