Thread
:
Warning: Division by zero
View Single Post
#
2
(
permalink
)
03-24-06, 02:41 PM
FiRe
Code Guru
Join Date: Oct 2004
Location: UK
Posts: 801
Thanks: 0
Thanked 0 Times in 0 Posts
tested it and it works fine, you obviously have not set X2 or Y2 previously in the script! try this instead:
PHP Code:
if (isset(
$X2
) && isset(
$Y2
))
__________________
Alexa Share
<-- Trade virtual shares in websites with this online game.
codR.us
<-- Submit and vote for your favorite code snippets with codR.us.
XEWeb.net
<-- The ultimate PHP resource network.
FiRe
View Public Profile
Visit FiRe's homepage!
Find all posts by FiRe