View Single Post
Old 01-13-2013, 02:09 AM   PM User | #3
Jinxy
New Coder

 
Join Date: Feb 2007
Posts: 86
Thanks: 0
Thanked 2 Times in 2 Posts
Jinxy has a little shameless behaviour in the past
I finally figured out why I'm getting that error after putting that code inside an if statemant, but I still don't know how to fix it so it works.

Quote:
If called from within a function, the return() statement immediately ends execution of the current function, and returns its argument as the value of the function call. return() will also end the execution of an eval() statement or script file.
Can somebody show me how to fix that script so that it can be put inside an if statement so I can use it with a form. I would greatly appreciate it.

Thanks
Jinxy is offline   Reply With Quote